杨庆荣的博客

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

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

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

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

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

<p>*** Please tell me who you are.</p>

<p>Run</p>

<p>  git config --global user.email "you@example.com"<br />   git config --global user.name "Your Name"</p>

<p>to set your account's default identity.<br /> Omit --global to set the identity only in this repository.</p>

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

<p> </p>

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

<p> </p>

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