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

ripper234 picture ripper234 · Mar 8, 2012 · Viewed 393.4k times · Source

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?

Answer

gaz picture gaz · Apr 2, 2012

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