Show ignored files in GIT
git clean -ndX
- clean – Remove untracked files from the working tree
- -n, –dry-run – Don’t actually remove anything, just show what would be done.
- -d – Remove untracked directories in addition to untracked files.
- -X – Remove only files ignored by git.
GIT 1.7.6 we can use
git status --ignored