Reputation: 12516
I set up the ignoring filters throug .gitignore
file. So, for git status
command I see this:
1.c
2.c
3.cpp
4.cpp
aaa/
But I want to see full list of filtered files of aaa
subdirectory instead of aaa/
for to be sure what my .gitignore
are configured correctly. Can I get it?
Upvotes: 2
Views: 53
Reputation: 3346
You can always do a,
git status <directory-name>/
Since a directory will show only if it is untracked, you can also do,
git status -u
You can also pass mode with this option, which defaults to all
.
all
shows individual files in untracked directories.
Upvotes: 2
Reputation: 20564
You can force git to show you the files that were changed in that directory by running :
git status aaa/
Be aware that the trailing /
is important here
Upvotes: 1