*** Please tell me who you are. Run git config --global user.email "[email protected]" git confi

在github提交代码的时候出现了这个问题:

*** 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: unable to auto-detect email address (got 'chenxiao@LAPTOP-S9MH6P88.(none)')


解决方法很简单,只需在当前输入下面两句命令,把引号里的改成自己的邮箱和账号就OK了

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

然后就可以做接下来的操作了

你可能感兴趣的:(github,git)