当前位置:   article > 正文

warning: user.name has multiple values

warning: user.name has multiple values

warning: user.name has multiple values

  1. $ git config --global user.name *******
  2. warning: user.name has multiple values
  3. error: cannot overwrite multiple values with a single value
  4. Use a regexp, --add or --replace-all to change user.name.
  5. 复制代码

问题原因:user.name 有多值冲突

解决方法如下:

思路:重置user.name和user.email

  1. $ git config --global --replace-all user.email "输入你的邮箱"
  2. $ git config --global --replace-all user.name "输入你的用户名"
  3. 复制代码

转载于:https://juejin.im/post/5cd8ff636fb9a0320a62a4c2

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

闽ICP备14008679号