Hi,

I though it might interest some users here. I just discovered how to push
to gerrit via HTTPS.

I described the setup in Setting up
Gerrit<http://qt-project.org/wiki/Setting-up-Gerrit> wiki
page.

   - Open Gerrit settings -> HTTP Password
   - Click Generate Password
   - Edit ~/.netrc (on Windows: %USERPROFILE%\_netrc)
   - Add the following line:

machine codereview.qt-project.org login <username> password
<generated-password>

*NOTE*: This password is *not* the same as the web login password.

   - Use https://codereview.qt-project.org/p/<project> as the Git remote.

e.g. https://codereview.qt-project.org/p/qt-creator/qt-creator
or https://codereview.qt-project.org/p/qt/qtbase

You should now be able to push.

Best regards,
- Orgad
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to