$ git push review
Counting objects: 19, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (19/19), 4.69 KiB | 0 bytes/s, done.
Total 19 (delta 12), reused 0 (delta 0)
remote: Resolving deltas: 100% (12/12)
remote: Processing changes: new: 1, refs: 1, done
remote: (W) 2d0f1ee: commit subject >50 characters; use shorter first paragraph
remote: ----------
remote: Reviewing commit: 2d0f1eed
remote:
remote: The author is not a committer on the project.
remote: The author has a current Eclipse Contributor Agreement (ECA) on file.
remote: The author has "signed-off" on the contribution.
remote:
remote: This commit passes Eclipse validation.
remote:
remote: New Changes:
remote:
To ssh://git.eclipse.org:29418/acceleo/org.eclipse.acceleo
* [new branch] R3_3_maintenance -> refs/for/R3_3_maintenance
Hello,
According to the log, you're trying to push to "refs/heads/R3_3_maintenance". This is indeed not allowed. You have to configure your "review" remote so that it will point to "refs/for/R3_3_maintenance"; that is the "gerrit" branch. This should be something
like:
git config remote.review.push HEAD:refs/for/master
Regards,
Laurent Goubet
Obeo
On 13/11/2019 17:47, Pere Joseph Rodríguez wrote:
Hi Laurent,
I've been trying to push the changes as explained in these websites, but got the following errors:
$ git push review R3_3_maintenance
Counting objects: 19, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (19/19), 4.69 KiB | 0 bytes/s, done.
Total 19 (delta 12), reused 0 (delta 0)
remote: Resolving deltas: 100% (12/12)
remote: Branch refs/heads/R3_3_maintenance:
remote: You are not allowed to perform this operation.
remote: To push into this reference you need 'Push' rights.
remote: User: pjosephrodrguez
remote: Please read the documentation and contact an administrator
remote: if you feel the configuration is incorrect
remote: Processing changes: refs: 1, done
To ssh://git.eclipse.org:29418/acceleo/org.eclipse.acceleo
! [remote rejected] R3_3_maintenance -> R3_3_maintenance (prohibited by Gerrit: ref update access denied)
Am I pushing to an incorrect remote or branch? It seems I don't have permission.
Many thanks.
--
Laurent Goubet
Consultant
+33 2 51 13 51 42
![]()
7 Boulevard Ampère - Carquefou - France
obeo.fr |
twitter |
linkedin