---
title: "git check-ignore"
description: "คำสั่งนี้ช่วยให้ debug ได้ว่าไฟล์หรือ path หนึ่ง ๆ ถูก ignore หรือไม่ และถ้าใส่ flag -v ก็จะแสดง exclude pattern ที่ match ให้ดูด้วย (Docs)"
canonical: https://oozou.com/til/git-check-ignore-117
locale: th
date: 2021-05-25
topic: cli
---

# git check-ignore

> คำสั่งนี้ช่วยให้ debug ได้ว่าไฟล์หรือ path หนึ่ง ๆ ถูก ignore หรือไม่ และถ้าใส่ flag -v ก็จะแสดง exclude pattern ที่ match ให้ดูด้วย (Docs)

Published: 2021-05-25 · Topic: [cli](https://oozou.com/th/til-topics/cli) ([markdown](https://oozou.com/th/til-topics/cli.md))

คำสั่งนี้ช่วยให้ debug ได้ว่าไฟล์หรือ path หนึ่ง ๆ ถูก ignore หรือไม่ และถ้าใส่ flag -v ก็จะแสดง exclude pattern ที่ match ให้ดูด้วย ([Docs](https://git-scm.com/docs/git-check-ignore))

---

Contact OOZOU: hello@oozou.com · +66 2544 0000 · https://oozou.com/th/contact

More for AI agents: https://oozou.com/llms.txt · every page has a markdown twin at its URL plus ".md"
