原文:http://blog.csdn.net/npjocj/article/details/31735605
Q2." remote: ERROR: committer email address remote: ERROR: does not match your user account."
Q2." remote: ERROR: committer email address remote: ERROR: does not match your user account."
- remote: Processing changes: refs: 1, done
- remote:
- remote: ERROR: In commit 0059c6b3c1c60fcc3e7863fa62f7d19b0b69afcd
- remote: ERROR: committer email address [email protected]
- remote: ERROR: does not match your user account.
- remote: ERROR:
- remote: ERROR: The following addresses are currently registered:
- remote: ERROR: [email protected]
- remote: ERROR:
- remote: ERROR: To register an email address, please visit:
- remote: ERROR: http://172.16.147.2:8082/#/settings/contact
- remote:
- remote:
- To ssh://gerritxmic/flagship.git
- ! [remote rejected] master -> master (invalid committer)
- error: failed to push some refs to 'ssh://gerrit/test.git'
A2. 需要配置 'Forge Committer' 和 'Forge Author' 访问权限, 让 Gerrit 忽略你不是正在 push 的提交的 author 或者 committer。直接把Anonymous Users组或者其他组给加上就行了。
这个问题太纠结人了,特此做个记录。