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

Nevaeh picture Nevaeh · Mar 4, 2014 · Viewed 123.4k times · Source

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?

Answer

Sahadevan picture Sahadevan · Nov 27, 2015

Try these two commands in git bash:

1) git gc --force

2) git fetch -p