Can 'git status' be configured so that it won't provide help text?

dvcs, git

Solution

Type this on your local commandline:

git config --global advice.statushints false

Problem

Is there a way to configure Git to remove the dead wood from the `git status` command? Instead of this monstrosity: ``` # On branch master # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # new file: README # # Changed but not updated: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: FB.pm # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # Foo.pl ``` I want only the key information: ``` # On branch master # Changes to be committed: # new file: README # # Changed but not updated: # modified: FB.pm # # Untracked files: # Foo.pl ```

Original source