无法完成GitHub共享过程。在GitHub上成功创建了项目,但初始提交失败了:
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 <(NULL)>) not allowed
执行期间
git -c core.quotepath=false commit -m "Initial commit" --
答案 0 :(得分:1)
运行这些命令git告诉你。设置姓名和电子邮件:
git config --global user.email "you@example.com"
git config --global user.name "Your Name"