git chèque ignorer
# Check that a file/folder is ignored
git check-ignore my-file-or-folder
# Check that a file/folder is ignored and which line of .gitignore causes that
git check-ignore -v my-file-or-folder
Muddy Moose