All articles
git

Git status show folders only, hide files in the log

Share this article

Share on LinkedIn Share on X (formerly Twitter)

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


Comments