*** Please tell me who you are. Run git config --global user.email "you@example.com" git confi

来源:互联网 发布:数据库如何实时备份 编辑:程序博客网 时间:2024/06/07 12:49

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


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

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

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

阅读全文
1 0
原创粉丝点击