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

涎涎原创约 243 字小于 1 分钟...GitGit

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"

分割线


相关信息

以上就是我关于 Git提交时报错Please tell me who you are...... 知识点的整理与总结的全部内容,希望对你有帮助。。。。。。。

上次编辑于:
贡献者: 涎涎
评论
  • 按正序
  • 按倒序
  • 按热度
Powered by Waline v2.15.4