---
title: "git check-ignore"
description: "This command lets you debug if a certain file/path is ignored and, with the -v flag, it also shows you the matching exclude pattern (Docs)."
canonical: https://oozou.com/til/git-check-ignore-117
locale: en
date: 2021-05-25
topic: cli
---

# git check-ignore

> This command lets you debug if a certain file/path is ignored and, with the -v flag, it also shows you the matching exclude pattern (Docs).

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

This command lets you debug if a certain file/path is ignored and, with the -v flag, it also shows you the matching exclude pattern ([Docs](https://git-scm.com/docs/git-check-ignore)).

---

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

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