Reputation: 6137
Is there an option to git status
so that untracked files won't be shown?
I tried git status -u no
but that hides everything and tells:
"nothing to commit, working directory clean"
even thouh there are files both staged for commit and not staged for commit.
I want it to show only files staged for commit and modified ones but skip untracked files.
Upvotes: 9
Views: 3278
Reputation: 25936
You need:
git status -uno
i.e., without the space, or:
git status --untracked-files=no
Upvotes: 15