我输入
git puhs
git说:
kristian@office:~/myrepo$ git puhs
git: 'puhs' is not a git command. See 'git --help'
Did you mean this?
push
如果git只有一个建议,那么git只执行建议的命令的配置设置是什么?
最佳答案
根据git-config(1),您想要适当地设置help.autocorrect
。例如,git config --global help.autocorrect 5
将使其等待半秒,然后再运行命令,以便您可以首先看到该消息。
关于git - 我如何使git做 “did you mean”建议?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/5167367/