2017-02-09 43 views
-1

每一个东西就要好,但是当我进入“混帐提交-m‘第一次提交’”它不工作,并显示此错误git的承诺没有在我的命令提示符工作

[email protected] MINGW64 ~/Desktop/ajax (master) 
$ git commit -am 'gjhgj' 

*** 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: empty ident name (for <(null)>) not allowed 

请别人帮助对此

回答

3

通过运行

git config --global user.email "<[email protected]>" 
git config --global user.name "<Your Name>" 

您可以省略--global在错误消息中指定,如果你的想为当前仅设置这些信息,你应该设置你的电子邮件地址和姓名项目。

相关问题