Browse Source

Update googlesource example

The username may not be present for newer accounts on googlesource.

Change-Id: Id76416f323a6d08ba83ab9a175f066a995b10941
changes/55/679055/1
James E. Blair 2 weeks ago
parent
commit
5e6f398cf3
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      examples/googlesource-gertty.yaml

+ 7
- 3
examples/googlesource-gertty.yaml View File

@@ -9,10 +9,14 @@
9 9
 servers:
10 10
   - name: CHANGEME-review
11 11
     url: https://CHANGEME-review.googlesource.com/
12
-    # Your gerrit username.
13
-    username: CHANGEME
14
-    # Set password at https://{name}-review.googlesource.com/#/settings/http-password
12
+    # Get username and password at https://{name}-review.googlesource.com/#/settings/http-password
13
+    # It will provide a gitcookies file with contents like this:
14
+    #   gerrit-review.googlesource.com	FALSE	/	TRUE	2147483647	o	git-user.example.com=ooghaGhu7ohva5xai8LahcheoVahTae5
15
+    # The username in this example is "git-user.example.com" and the
16
+    # password is "ooghaGhu7ohva5xai8LahcheoVahTae5".  They are
17
+    # separated by an "=" character.
15 18
     # Note this is not your Google password.
19
+    username: CHANGEME
16 20
     password: CHANGEME
17 21
     auth-type: basic
18 22
     git-root: ~/git/

Loading…
Cancel
Save