Today I have discovered a new flag --short
, that can be used in git status
command. This will hide the files in the subfolders getting shown in the CLI. The following command will show the subfolders which contain modified files.
git status --short
You can also use -s
which is an alias of --short