当有多个候选人时,我如何使git做出“您的意思”建议?

时间:2018-09-05 14:40:53

标签: git

我来自How can I make git do the "did you mean" suggestion?,只有在有一个候选命令时,接受的答案才有效。

例如 git puhs仅将git push作为可能的命令。

万一有多个选项,有没有办法让Git运行第一个命令? 例如,

$ git stat
git: 'stat' is not a git command. See 'git --help'.

The most similar commands are
    status
    stage
    stash

help.autocorrect(来自here)的文档说,在上述情况下什么也没做。

有没有办法让git运行第一个候选对象? 另外,它还能代替我提示我选择其中一个候选人吗?

0 个答案:

没有答案
相关问题