Skip to content

Commit 0654425

Browse files
committed
Add Gerrit configuration section to README
1 parent f88c565 commit 0654425

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,18 @@ if you want to use another path, you can change the defaults:
295295

296296
python -m git_repo.extract_config ~/.gitconfig-repos ~/.gitconfig
297297

298+
### Configuring Gerrit
299+
300+
Please note: when configuration wizard will ask you for password, do not provide
301+
your Gerrit account password, but enter `HTTP password` instead. You can setup
302+
it on [Settings > HTTP Password page](https://review.gerrithub.io/#/settings/http-password)
303+
304+
You may also need to tweak your `~/.gitconfig`:
305+
* set `ro-suffix` if your Gerrit isn't served at server root. For example, set
306+
`ro-suffix` to `/r` if your Gerrit is hosted at `https://review.host.com/r`
307+
* set `ssh-port` parameter to set custom port for ssh connection to Gerrit (default: 29418)
308+
* set `auth-type`: basic (default) or digest
309+
298310
### Development
299311

300312
For development, start a virtualenv and from within install the devel requirements:

0 commit comments

Comments
 (0)