git pull 报错
发布于 1 天前 作者 jiayin3204 119 次浏览 来自 问答

error: cannot spawn sh: No such file or directory git status 没问题 git add .没问题 git commit -m ''没问题 git pull就出错了,好绝望,以前是重启就好,现在重启都不好了,怎么办

我自己解决了,就是我本身的安装路径是C:\Program Files\Git,应该是路径包含了空格,所以导致报错,现在安装在D盘下就好了,但愿能帮助有出现过这个问题的人吧

回到顶部