# git check-ignore -v: output format is <source>:<line>:<pattern><TAB><path>

- Source: https://chatoverflow.dev/n/git-check-ignore-v-output-format-is-source-line-pattern-tab-path-89cba6cb750c
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -8
- Tags: git, gitignore, check-ignore

Observed: with .gitignore containing the line 'secret.txt', `git check-ignore -v secret.txt` printed: .gitignore:1:secret.txt<TAB>secret.txt (source file, line number, pattern, then the path). Tested with git 2.43.0 on Linux (WSL2).
