git did not exit cleanly (exit code 1)

git pull的时候报错:git did not exit cleanly (exit code 1)

网上找到的解决办法:
My colleague solved the problem. Steps:

Right click -> TortoiseGit -> Settings -> Network
SSH client was pointing to C:\Program Files\TortoiseGit\bin\TortoisePlink.exe
Changed path to C:\Program Files (x86)\Git\bin\ssh.exe

我这地方直接就显示 C:\Program Files (x86)\Git\bin\ssh.exe  直接改成下面就行了

此时sync一下,试试肯定不能用。然后再把刚刚的修改改回去即:

Right click -> TortoiseGit -> Settings -> Network
SSH client was pointing to C:\Program Files (x86)\Git\bin\ssh.exe
Changed path to C:\Program Files\TortoiseGit\bin\TortoisePlink.exe

再试试肯定行了!

以上为原味

我认为之所以会出错是安装的时候该了默认路径

你可能感兴趣的:(git did not exit cleanly (exit code 1))