Say I start a git repository in a folder, and I have several subdirectories in it.
I have several globbing patterns .gitignore to exclude files in the s
.gitignore
use git command git ls-files -o to list untracked file
instead -o use -c --cached Show cached files in the output (default)
-d --deleted Show deleted files in the output
-m --modified Show modified files in the output