如果是第一次使用$ git commit指令会出现:
*** 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 not allowed
请使用git config配置文件.
本文介绍了当首次使用$gitcommit指令时遇到的错误提示及其解决办法。文章详细解释了如何通过gitconfig命令设置用户的电子邮件和姓名来避免empty identity not allowed的致命错误。
830

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



