git commit 提交的时候,出现*** Please tell me who you are. git config --global 。。。问题

 $ git commit -a -m 'v6'
 
 *** 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 'Administrator@WIN-20170405AQW.(none)')

 

解决方案: 见提示就知道, 要您填上你得注册的邮箱和昵称,例如:

git config --global user.email "xxxx@qq.com"
git config --global user.name "test"

 

OK!

posted @ 2017-11-26 00:33  一粒小米-博客  阅读(8030)  评论(0编辑  收藏  举报