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

Issue

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?

Solution

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

Answered By – gaz

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published