有没有办法配置Git从git status命令中删除死木?而不是这种怪异:
# 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
Run Code Online (Sandbox Code Playgroud)
我只想要关键信息:
# On branch master
# Changes to be committed:
# new file: README
#
# Changed but not updated:
# modified: FB.pm
#
# Untracked files:
# Foo.pl
Run Code Online (Sandbox Code Playgroud)
在本地命令行上键入:
git config --global advice.statushints false
Run Code Online (Sandbox Code Playgroud)