how do I mirror a git repository to Gerrit?
I will do this:
[git repository for libdrm] -> my gerrit <-> developers
Gerrit download changes from freedesktop git repository. Developers clone repository from gerrit and push into gerrit. Developers never pushes changes to main repository.
I have created new project with gerrit. I download repository:
git clone http://anongit.freedesktop.org/git/mesa/drm.git
I will push this repository to gerrit, but I can't because I have got errors:
remote: ERROR: In commit ced219ebbd3b266ac8326223bad62f994907ae6b
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://mygerrit-server/#/settings/contact
I have permisions for all. How I can add mirror to gerrit?
Git mirroring is when a mirror copies the refs & the remote-tracking branches. It's supposed to be a functionally identical copy that is interchangeable with the original.
You need the 'Forge Committer' and 'Forge Author' access permissions. This tells Gerrit to ignore that you aren't the author or committer of the commits you are pushing. http://gerrit-documentation.googlecode.com/svn/Documentation/2.6/access-control.html#category_forge_author
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With