git did not exit cleanly (exit code 128) [duplicat

2019-03-04 06:08发布

问题:

This question already has an answer here:

  • How to resolve “git did not exit cleanly (exit code 128)” error on TortoiseGit? [closed] 14 answers

i am getting this error. Tried all the solution from How to resolve "git did not exit cleanly (exit code 128)" error on TortoiseGit?

I m using tortoise git & have git version 1.9.5.msysgit.1

回答1:

I think 128 means the file is not found. Make sure TortoiseGit has been configured correctly to know which git.exe to run.

Try opening Git Bash and running git there, you might get a better error message.



回答2:

I guess you did not configured your email and name. If not Configure them.

These are the steps to configure.

git config --global user.name "Your Name"

git config --global user.email "you@example.com"