Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning
titleNote

Generally, we recommend to use ssh way ssh is recommended if you want to contribute code to ONOS, but there are some restrictions . Anyway, you may be in some areas when using ssh, so if the ssh won't work in your locationwhere access to ssh is restricted. If this is the case, please try to use https way to contribute to ONOS. The steps are similar to SSH , except that you'll need to enter the your username and password each time you want to submit the code.

Optional: Read-write access to the ONOS source code via Gerrit, ssh and git-review

...

Generate Password(only for https)

...

  1. After logging into the Gerrit account, go to Settings > HTTP Password, click Generate Password to generate the password which using when submitting code, if you forget the password just go to HTTP Password regenerate a new one.

Image RemovedImage Added

Configuring git

...

Code Block
languagetext
git config --global user.name "firstname lastname"
git config --global user.email "email@domain.com"

Configuring git to remember password (only relevant for https, optional)

When using https and password to authenticate, you may want to use git credential helper to remember password for you.  

See article provided by github for instruction setting up git credential helper: https://help.github.com/articles/caching-your-github-password-in-git/t,