git check-ignore example
Example: git check ignore
# Check that a file/folder is ignored
git check-ignore *
# Check that a file/folder is ignored and which line of .gitignore causes that
git check-ignore -v *
# Check that a file/folder is ignored
git check-ignore *
# Check that a file/folder is ignored and which line of .gitignore causes that
git check-ignore -v *