当前位置:   article > 正文

git add . 提交报错git config --global user.email “you@example.com” git config --global user.name “Your N_remote: gl-hook-err: email配置错误,请执行git config --glo

remote: gl-hook-err: email配置错误,请执行git config --global user.email "wuh

报错信息

*** 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 ‘User@LAPTOP-PUF1QNBG.(none)’)

image-20210802175546630

解决方法

在项目中找到.git文件夹,点击找到config文件,用记事本打开config文件添加这些信息就可以了

[user]
    name = xx
    email = xx@xx.com
  • 1
  • 2
  • 3
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/895559
推荐阅读
相关标签
  

闽ICP备14008679号