我还没有设置我的git别名,但是在设置之前不小心运行了git st。我明白了:
$ git st
Failed to run command 'st': Result too large到底怎么回事?
根据记录,git status运行得很好。在我弄清楚这个问题之前,我不想为status设置git别名st。
发布于 2015-11-30 01:23:46
通过设置GIT_TRACE环境变量对其进行调试。这是我得到的:
$ GIT_TRACE=1 git st
12:21:45.322173 git.c:560 trace: exec: 'git-st'
12:21:45.322898 run-command.c:335 trace: run_command: 'git-st'
git: 'st' is not a git command. See 'git --help'.所以,我们知道它正在尝试执行git-st;我猜您在$PATH中有一个git-st可执行文件?
https://stackoverflow.com/questions/33974858
复制相似问题