Is there a way to get rid of the annoying help messages in git status? -
changes not staged commit: (use "git add <file>..." update committed) (use "git checkout -- <file>..." discard changes in working directory)
this of output when running git status
.
i don't mind "changes not staged commit:" message, don't want see "help" commands how "update committed" etc, add lot of noise.
i know git status -s
, that's not want.
is there way of getting rid of messages?
in git-config
documentation can find variable statushints
of subsection advice.*
explained this:
statushints
show directions on how proceed current state in output of git-status(1), in template shown when writing commit messages in git-commit(1), , in message shown git-checkout(1) when switching branch.
so assume setting
$ git config advice.statushints off
should rid of these messages (for local repository, use --global
repositories of current user on machine)
Comments
Post a Comment