git 没有完全退出(退出代码 128)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/29428009/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 03:04:02  来源:igfitidea点击:

git did not exit cleanly (exit code 128)

gitgithubtortoisegit

提问by user2089961

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

我收到这个错误。尝试了如何解决 TortoiseGit 上的“git 没有完全退出(退出代码 128)”错误中的所有解决方案

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

我正在使用乌龟 git & 有 git 版本 1.9.5.msysgit.1

回答by David Grayson

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

我认为 128 表示找不到文件。确保 TortoiseGit 已正确配置以知道要运行哪个 git.exe。

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

尝试打开 Git Bash 并在那里运行 git,您可能会得到更好的错误消息。

回答by Anil Kumar

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 "[email protected]"