Tag Archives: git did not exit cleanly (exit code 128)

[Solved] tortoisegit error: git did not exit cleanly (exit code 128)

After the gitlab address of the company’s new project was sent, I pulled the code again with the new address, but I couldn’t pull it down;

Git did not exit cleanly (exit code 128) is prompted every time;

I checked my permissions and the address of the GIT project, and they were all OK.

Later, I found that when I used the new address to pull the code, the password I entered for the first time was still the password of the old gitlab account, and tortoisegit would not verify the correctness of the password. When the password was wrong, it would prompt me of the error I encountered.

Delete the tortoisegit credential in [control panel – user account – manage windows credentials];

When I pull the code again, I will be prompted to enter the user name and password. After entering the correct user name and password, I can pull the code.

Git did not exit cleanly (exit code 128) [How to Solve]

I believe that some children’s shoes will encounter such errors in Git clone

if you have tried 1. Regenerate the privatekey

2. The path in the sshclient setting is also set, and this path can not be replaced by the link tortoisegitplink.exe under C:// program files/tortoisegit/bin

Then you can try to change the HTTPS:// in your link address to http://

That’s how I solved my problem. I hope it will help you