Hey, On Fri, Aug 28, 2015 at 4:52 PM, Ashod Nakashian <ashnak...@gmail.com> wrote:
> On Fri, Aug 28, 2015 at 8:15 AM, Shreyansh Gandhi <gandhish...@gmail.com> > wrote: > >> Same result:- >> >> git push origin HEAD:refs/for/master >> > > Try replacing HEAD with the branch name. > No. Please read the error message. (" [remote rejected] HEAD -> refs/for/master (you are not allowed to upload merges)") You have somewhere a merge commit. Can you pastebin the first lines of git log? Regards, Markus > > > >> 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.mohrh...@googlemail.com> wrote: >> >>> Hey, >>> >>> >>> On Fri, Aug 28, 2015 at 2:10 PM, Shreyansh Gandhi <gandhish...@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 >> >> _______________________________________________ >> LibreOffice mailing list >> LibreOffice@lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/libreoffice >> >> >
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice