建议行不会在Git中打印

时间:2017-10-16 19:05:09

标签: git

在某些机器上,行(use "git reset HEAD <file>..." to unstage)无法打印,它来自何处?我该怎么做才能打印出建议消息?

$ git status
On branch master
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)

renamed:    README.md -> README

1 个答案:

答案 0 :(得分:1)

检查

git config advice.statusHints

有关更多信息(以及更多链接),请参阅“Is there a way to get rid of the annoying help messages in git status?