Git镜子与gerrit

esi*_*sio 14 git gerrit

如何将git存储库镜像到Gerrit?

我会做的:

[git repository for libdrm] - >我的gerrit < - >开发人员

Gerrit从freedesktop git存储库下载更改.开发人员从gerrit克隆存储库并推入gerrit.开发人员从不将更改推送到主存储库.

我用gerrit创建了新项目.我下载了存储库:

git clone http://anongit.freedesktop.org/git/mesa/drm.git
Run Code Online (Sandbox Code Playgroud)

我会把这个存储库推到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
Run Code Online (Sandbox Code Playgroud)

我有所有人的权利.我怎么能把镜子添加到gerrit?

Bra*_*rad 21

您需要"Forge Committer"和"Forge Author"访问权限.这告诉Gerrit忽略您不是您正在推送的提交的作者或提交者.http://gerrit-documentation.googlecode.com/svn/Documentation/2.6/access-control.html#category_forge_author