Git check-ingore
Jump to navigation
Jump to search
Internal
Overview
Show whether a file is ignored from tracking, helps debugging .gitignore.
git check-ignore [-v] <path>
It displays details about ignored files:
git check-ignore -v ./target/
.gitignore:54:target ./target/