On 11 November 2012 13:46, Sze Howe Koh <szehowe....@gmail.com> wrote: > On 11 November 2012 13:10, Majid Khan <mkhan3...@gmail.com> wrote: >> Thanks Sze, >> >> I am getting error out of it. >> >> fatal: 'gerrit' does not appear to be a git repository >> fatal: The remote end hung up unexpectedly >> >> I have checked my full URL path, thats correct (that I had used to clone >> repo from) I am trying to push to qt-creator project. >> >> Thanks > > You're welcome. Did you run the init-repository script, and did you > pass it your Gerrit username? If you did, your git config file should > have a section like this: > > [remote "gerrit"] > url = ssh://yourgerritusern...@codereview.qt-project.org:29418/qt/qtbase > fetch = +refs/heads/*:refs/remotes/gerrit/* > > (There are a few different places you can clone from, but you need to > push to the qt-project.org repo) > > Also, make sure you've installed your git hooks.
Wait, silly me... the init-repository script is in the main Qt 5 repo. I've never pushed to qt-creator before so I don't know if there are any shortcuts, but you can try pushing to ssh://yourgerritusern...@codereview.qt-project.org:29418/qt-creator/qt-creator Or better, wait for someone with the experience to reply. You still need to make sure you've got the git hooks installed. Regards, Sze-Howe _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development