Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git status - don't show untracked files

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.

like image 313
codekiddy Avatar asked Nov 15 '15 19:11

codekiddy


1 Answers

You need:

git status -uno

i.e., without the space, or:

git status --untracked-files=no
like image 121
Crowman Avatar answered Sep 20 '22 17:09

Crowman