[Development] Pushing to gerrit

Sze Howe Koh szehowe.koh at gmail.com
Sun Nov 11 05:57:27 CET 2012


After you run the init-repository script, you can do

    git fetch && git rebase origin/master && git push gerrit
HEAD:refs/for/master


If you want to see the full URL, see the repo config file (e.g.
[QT5ROOT]/qtbase/.git/config)


Regards,
Sze-Howe

On 11 November 2012 12:25, Majid Khan <mkhan3189 at gmail.com> wrote:
> Hi All,
>
> I have recently downloaded cloned Qt creator's repo to my newly setup dev
> machine. I have done most of the parts. Finally, I was trying to push a test
> file to gerrit (and was planning to abandon the change once it's
> successfully sent to review).
>
> The way we do at our work is:
> git fetch && git rebase origin/master && git push origin
> HEAD:refs/for/master
>
> I am able to rebase but I was wondering two things;
>
> where do I push to? (git push ...? )
> Can I simply push to code review
> (https://codereview.qt-project.org/#q,status:open,n,z) or do I need special
> access to do that? I have already setup my public keys and all that by the
> way.
>
> Thanks in advance.
>
>
> --
> Majid Khan
> http://www.icplusplus.com
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>



More information about the Development mailing list