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

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/RangingWon/article/details/81838250

有时候,我们会在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.

...

那这时候,我们该怎么解决这个问题呢?顾名思义,就是你告诉它你的邮箱和你的用户名

那我们打开终端,喏,就是这个,在里面输入命令行:

git config --global user.email "你的邮箱"
git config --global user.name "你GitHub的用户名"

然后回车键就可以啦!!

是不是很简单 ^_^

欢迎大家访问我的GitHub

GitTub:https://github.com/JnKindle

猜你喜欢

转载自blog.csdn.net/RangingWon/article/details/81838250