How do you git show untracked files that do not exist in .gitignore

I’m using git status -u to show untracked files. And on the terminal, I see plenty untracked files that I need to be untracked such as unit tests, personal documentation, etc. I have put them in .gitignore, but it seems that git status still shows them.

How do you show only untracked files that don’t exist in .gitignore.

3 Answers
3

Leave a Comment