TortoiseGit-git did not exit cleanly (exit code 1)

后端 未结 19 2270
花落未央
花落未央 2020-12-30 18:43

I got this message when i tried to create repository by using Git clone.

git did not exit cleanly (exit code 1)

How to fix this?

19条回答
  •  抹茶落季
    2020-12-30 19:29

    I ran into the same issue after upgrading Git. Turns out I switched from 32-bit to 64-bit Git and I didn't realize it. TortoiseGit was still looking for "C:\Program Files (x86)\Git\bin", which didn't exist. Right-click the folder, go to Tortoise Git > Settings > General and update the Git.exe path.

提交回复
热议问题