Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve "git did not exit cleanly (exit code 128)" error on TortoiseGit? [closed]

I've run into this serious error while committing, and created a bug report.

I keep getting this error on TortoiseGit operations:

git did not exit cleanly (exit code 128)

I've reinstalled the program, rebooted, and tried to clone a fresh repo from github - nothing seems to work. I also deleted %appdata%\Tortoise git folder ... I'm at a loss now. Any advice on how to proceed?

like image 375
ripper234 Avatar asked Mar 08 '12 12:03

ripper234


People also ask

What is exit status 128?

exit code 128 means a lot of things. In my case, the destination path where the project is cloning is "long". I tried changing the destination path to a smaller path in length, It works. Sometime the error is not able to create the file in our local machine due to the destination path length is too long.


2 Answers

It's probably because your SSH key has been removed/revoked. Make a new one and add it to your GitHub account.

like image 107
gaz Avatar answered Sep 25 '22 23:09

gaz


for me I simply had to add configure my git username and email with the following commands:

git config --global user.email "[email protected]" git config --global user.name "Your Name" 
like image 27
Benjamin Kaiser Avatar answered Sep 26 '22 23:09

Benjamin Kaiser