Gerrit FAQ

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-29-generic x86_64)
Apache 2.2
Gerrit:2.8.4
Jenkins:Jenkins ver. 1.559

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Q1. Gerrit "publish and submit" 后冲突“Your change could not be merged due to a path conflict.Please merge (or rebase) the change locally and upload the resolution for review.“


A1.
这个是因为之前我把原来的项目删除后重新创建一个同名的项目,因为数据库里还存有原来的change-ID信息

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 joey.zhang@mail.com
remote: ERROR:  does not match your user account.
remote: ERROR:
remote: ERROR:  The following addresses are currently registered:
remote: ERROR:    joe.chan@mail.com
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组或者其他组给加上就行了。




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值