当前位置:   article > 正文

Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to s_please tell me who you are. run git config --globa

please tell me who you are. run git config --global user.email "you@example.

在pull代码后,想进行checkout,merge的时候出现如下错误:

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. unable to auto-detect email a

是关于权限的问题,首先得确认远程仓库已经给了你权限。
进入你项目所在的本地仓库位置,然后输入如下命令:

Lenovo@DESKTOP-TV81NH2 MINGW64 你的本地仓库路径 (XXX你的分支名)
$ git  config --global user.email "你的email"

Lenovo@DESKTOP-TV81NH2 MINGW64  你的本地仓库路径 (XXX你的分支名)
$ git config --global use.name "用户名(已赋予权限)"
  • 1
  • 2
  • 3
  • 4
  • 5
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/895534
推荐阅读
相关标签
  

闽ICP备14008679号