Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 874
Nevaeh Avatar asked Mar 04 '14 07:03

Nevaeh


3 Answers

Try these two commands in git bash:

1) git gc --force

2) git fetch -p

like image 106
Sahadevan Avatar answered Sep 22 '22 07:09

Sahadevan


Right from my experience, I most often get this when I have locally changed files that will be over ridden by the pull, you need to stash or move the files before you can pull it.

like image 8
RenScorch Avatar answered Sep 21 '22 07:09

RenScorch


Right-click folder -> TortiseGit -> push-> choose unknown changes 》

like image 8
陈先生 Avatar answered Sep 18 '22 07:09

陈先生