错误如下:
Commit failed - exit code 128 received, with output: '*** 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: empty ident name (for <>) not allowed'
解决:找到隐藏目录.git/config
添加如下命令即可:
[user]
name = github的用户名
email = 注册github的邮箱
本文解决了一个常见的Git提交失败问题,错误提示为'***Please tell me who you are.'。通过在.git/config文件中添加用户名称和邮箱信息,可以轻松解决此问题,确保Git能够正确识别提交者的身份。
1178

被折叠的 条评论
为什么被折叠?



