FORUMS
Remove All Ads from XDA

HELP: Not able to send code review(first time gerrit user)

26 posts
Thanks Meter: 9
 
By vineethrp, Junior Member on 2nd January 2020, 07:43 PM
Post Reply Email Thread
I am trying to send a code review for android_bootable_recovery android-9.0 branch. I was following the gerrit documention and did the following:

Quote:

git clone ssh://<username>@gerrit.omnirom.org:29418/android_bootable_recovery -b android-9.0 abr && scp -p -P 29418 <username>@gerrit.omnirom.org:hooks/commit-msg abr/.git/hooks/
make changes and commit

After that, I try the push and it gives me error as follows:
Quote:

$ git push ssh://[email protected]:29418/android_bootable_recovery HEAD:refs/for/android-9.0
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 16 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 676 bytes | 676.00 KiB/s, done.
Total 4 (delta 3), reused 1 (delta 1)
remote: Resolving deltas: 100% (3/3)
remote: Branch refs/heads/android-9.0:
remote: You need 'Push' rights to upload code review requests.
remote: Verify that you are pushing to the right branch.
remote: User: vineethrp
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://gerrit.omnirom.org:29418/android_bootable_recovery
! [remote rejected] HEAD -> refs/for/android-9.0 (create change not permitted for refs/heads/android-9.0)
error: failed to push some refs to 'ssh://[email protected]:29418/android_bootable_recovery'

Not sure what am I missing. Any help is greatly appreciated. Thanks
Post Reply Subscribe to Thread

Tags
contributing, gerrit, git

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes