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

如图所示:


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

解决方法:

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

示例: 
$ git config user.name "yanbo0039"
$ git config user.email "yanbo0039@yeah.net"

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


分割线


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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容