Git提交时报错Please tell me who you are

如图所示:

*** 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 'yanbo@LAPTOP-3FPR38IO.(none)')

解决方法:

git config user.name "自己的用户名"
git config user.email "自己配置github时的邮箱"

示例: 
$ git config user.name "yanbo0039"
$ git config user.email "[email protected]"

以上就是我解决这个问题的方法,若有其它更好的方法,希望大神分享。。。。

==================================================================

分割线

==================================================================
博主为咯学编程:父母不同意学编程,现已断绝关系;恋人不同意学编程,现已分手;亲戚不同意学编程,现已断绝来往;老板不同意学编程,现已失业三十年。。。。。。如果此博文有帮到你欢迎打赏,金额不限。。。

发布了72 篇原创文章 · 获赞 2 · 访问量 8982

猜你喜欢

转载自blog.csdn.net/qq_36079972/article/details/100279119