错误代码:

Commit failed - exit code 128 received, with output: '*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
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 'xxxr@xxx.(none)')'

解决方法:
在项目的根目录下有一个隐藏文件夹.git,里面有一个config文件,在文件的最后添加下面的代码:

[user]
name = xxx
email = xxx

xxx换成自己的名字和邮箱地址,然后保存文件.

THE END
最后修改:2020 年 01 月 16 日 20 : 48
本文链接:https://www.j000e.com/windows/githubdesktopcode128.html
版权声明:本文『GitHub Desktop Commit failed - exit code 128 received解决方法』为『Joe』原创。著作权归作者所有。
转载说明:GitHub Desktop Commit failed - exit code 128 received解决方法 || Joe's Blog』转载许可类型见文末右下角标识。允许规范转载时,转载文章需注明原文出处及地址。
Last modification:January 16, 2020
If you think my article is useful to you, please feel free to appreciate