git提交报错

Posted 1218-mzc

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git提交报错相关的知识,希望对你有一定的参考价值。

*** 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 accounts default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got bindu@bindu-virtual-machine.(none))
bindu@

根据提示信息:需要配置git,请执行以下2条命令

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

 

以上是关于git提交报错的主要内容,如果未能解决你的问题,请参考以下文章