如何将git存储库镜像到Gerrit?
我将这样做:
适用于libdrm -> my gerrit <->开发人员的git存储库
Gerrit从免费的git库下载更改。开发人员从gerrit克隆存储库并推送到gerrit中。开发人员从不将更改推送到主存储库。
我已经用gerrit创建了一个新项目。我下载存储库:
git clone http://anongit.freedesktop.org/git/mesa/drm.git我将把这个存储库推送到gerrit,但我不能,因为我收到了错误:
remote: ERROR: In commit ced219ebbd3b266ac8326223bad62f994907ae6b
remote: ERROR: committer email address chris@chris-wilson.co.uk
remote: ERROR: does not match your user account.
remote: ERROR:
remote: ERROR: The following addresses are currently registered:
remote: ERROR: xxx@example.com
remote: ERROR:
remote: ERROR: To register an email address, please visit:
remote: ERROR: http://mygerrit-server/#/settings/contact我对所有人都有许可。我怎样才能将镜像添加到gerrit?
发布于 2012-02-14 04:26:45
您需要“伪造委员会”和“伪造作者”访问权限。这会告诉Gerrit忽略您不是正在推动的提交的作者或提交者。http://gerrit-documentation.googlecode.com/svn/Documentation/2.6/access-control.html#category_forge_author
https://stackoverflow.com/questions/9262297
复制相似问题