Git show files that will be added (staged) in subdirectories

To Nha Notes | Nov. 29, 2022, 8:07 a.m.

To verify which files will be staged while considering .gitignore, we can use below commands:

git status -u
git status --untracked-files
git add --dry-run .