我是github的新手。我试图提交我的项目。但是在我的cmd上发生了以下错误。
***请告诉我你是谁。
跑
git config --global user.email“[email protected]”git config --global user.name“你的名字”
设置帐户的默认身份。省略--global仅在此存储库中设置标识。
致命:无法自动检测电子邮件地址(得到'Hema @ Hema-PC。(无)')
怎么能解决这个问题?
对于此错误,您只需执行它们显示的命令
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
这将在〜/ .gitconfig中设置您的名字。