提交者电子邮件地址在IntelliJ中不匹配,甚至将其更改为正确的 [英] Commiter email address does not match in IntelliJ even changing it to correct one
本文介绍了提交者电子邮件地址在IntelliJ中不匹配,甚至将其更改为正确的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试在IntelliJ构思中将我的提交从git存储库推送到Linux环境中的gerrit远程存储库时,我收到以下错误:
When I try to push my commits from git repository to gerrit remote repository from Linux environment in IntelliJ idea I get the following error:
remote: ERROR: committer email address ***** [K
remote: ERROR: does not match your user account.[K
即使我将设置更改为git和gerrit的正确设置(我可以在: git config -l </ code >从控制台),它仍然选择旧的错误电子邮件。
Even if I changed the settings to the correct ones for git and gerrit (I can see that at: git config -l
from console), it still picks the old "wrong" email.
可能出错?
推荐答案
您需要重新配置电子邮件
you need to reconfigure your email
$ git config user.email <your email>
$ git commit --amend --reset-author
git commit --amend
更新你的上次提交
这篇关于提交者电子邮件地址在IntelliJ中不匹配,甚至将其更改为正确的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文