杨庆荣的博客

工作之余接单:公司产品展示网站建设、电商网站建设、小程序、app开发。+86 13714715608

git did not exit cleanly (exit code 128)的解决办法

点击 16174    创建时间 2013-07-30 10:36:10

出现git did not exit cleanly (*exit code 128*)的错误很可能是没有配置用户的邮件和名称,双击“D:\Program Files\Git\Git Bash”,在git bash中可以看到:

$ git.exe pull -v --progress "origin"  
 Password for 'https://*******@****.com':  
 From https://***.com/***/*******  
 = [up to date] master -> origin/master

*** Please tell me who you are.

Run

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

to set your account's default identity.  
 Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'rong@rong-PC.(none)')

这时,你只要按要求把email和名字填上就可以了。

上一篇: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or c orrupt
下一篇: spl_autoload_register()自动加载你的php类,不用require_once啦。