Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added link to credential helper

...

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.

Configuring git

Developers planning to contribute code should configure git with their username and email.

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,