`
hellojava
  • 浏览: 13366 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

git提交的时候如果遇到does not match your user account

git 
阅读更多

 

git提交的时候如果遇到does not match your user account



 

除了使用下面的命令重新设置账号以外

git config --global user.name "Your Name"
git config --global user.email you@example.com
还需要

git commit --amend --reset-author

否则是不会有效果的

 

当然,如果能在Gerrit里面进行配置,配置 'Forge Committer' 和 'Forge Author' 访问权限也是能够解决的。

  • 大小: 49.4 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics