GIT-CHECK-IGNORE(1) Git Manual GIT-CHECK-IGNORE(1) (NAME) git-check-ignore - gitignore / exclude (SYNOPSIS) git check-ignore [] ... git check-ignore [] --stdin (DESCRIPTION) --stdin .gitignore ( ) . (tracked) `--no-index' . (OPTIONS) -q, --quiet . . -v, --verbose . ( <> **). gitignore(5) . --stdin ( ) . -z ( ). --stdin NUL . -n, --non-matching . --verbose . --no-index (index) . git add . git add -f . (OUTPUT) . . --verbose : . <> <> . core.excludesFile .git/info/exclude . -z null --verbose (hard tab) null : -n --non-matching . STDIN check-ignore STDOUT . ( ). GIT_FLUSH git(1) . . (EXIT STATUS) 0 ( ). 1 . 128 . (SEE ALSO) gitignore(5) git-config(1) git-ls-files(1) GIT git(1) Git 2.55.0 2026-06-29 GIT-CHECK-IGNORE(1)