Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Same result:-

git push origin HEAD:refs/for/master
Counting objects: 63, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (13/13), 1.44 KiB | 0 bytes/s, done.
Total 13 (delta 9), reused 0 (delta 0)
remote: Resolving deltas: 100% (9/9)
remote: Processing changes: refs: 1, done
To ssh://logerrit/core
 ! [remote rejected] HEAD -> refs/for/master (you are not allowed to upload
merges)
error: failed to push some refs to 'ssh://logerrit/core'


On Fri, Aug 28, 2015 at 5:41 PM Markus Mohrhard <
markus.mohrhard@googlemail.com> wrote:

Hey,


On Fri, Aug 28, 2015 at 2:10 PM, Shreyansh Gandhi <gandhishrey@gmail.com>
wrote:

Hi,

So, the problem was that an original initial commit (with no actual
changes) was being inherited from master. Now when I try to push my changes,

git push origin HEAD:master
Counting objects: 56, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (12/12), done.
Writing objects: 100% (13/13), 1.44 KiB | 0 bytes/s, done.
Total 13 (delta 9), reused 0 (delta 0)
remote: Resolving deltas: 100% (9/9)
remote: Branch refs/heads/master:
remote: You are not allowed to perform this operation.
remote: To push into this reference you need 'Push' rights.
remote: User: phenom
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://logerrit/core
 ! [remote rejected] HEAD -> master (prohibited by Gerrit)

How should I fix this?

-Shreyansh
<http://lists.freedesktop.org/mailman/listinfo/libreoffice>



You are not allowed to push to master. Instead you need to use something
like git push origin HEAD:refs/for/master which will push it to the review
queue.

Regards,
Markus

-- 
Regards,
Shreyansh Gandhi

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.