experimental/documentation/gerrit: authentication

NOTRY=true
Change-Id: I8d4f86848dcc37bcc0aead3700969ea4df6417db
Reviewed-on: https://skia-review.googlesource.com/59762
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
This commit is contained in:
Hal Canary 2017-10-13 15:53:29 -04:00 committed by Skia Commit-Bot
parent 01f70aa89e
commit 7a3e989de2

View File

@ -1,7 +1,7 @@
Using Gerrit without git-cl
===========================
setup
Setup
-----
The following must be executed within the Skia source repository.
@ -14,15 +14,22 @@ identify which review a change applies to.
'https://gerrit-review.googlesource.com/tools/hooks/commit-msg'
chmod +x "$(git rev-parse --git-dir)/hooks/commit-msg"
If you aquired Skia from a mirror (such as github), you need to change the
`origin` remote to point to point to googlesource. Advanvced uses will note
If you acquired Skia from a mirror (such as github), you need to change the
`origin` remote to point to point to googlesource. Advanced uses will note
that there is nothing special about the string `origin` and that you could call
this remote anything you want, as long as you use that name for `get push`.
git remote set-url origin 'https://skia.googlesource.com/skia.git'
creating a change
Authentication
--------------
Go to [skia.googlesource.com/new-password](https://skia.googlesource.com/new-password)
and follow the instructions.
Creating a Change
-----------------
1. Create a topic branch
@ -61,7 +68,7 @@ creating a change
[Gerrit Upload Documentation](https://gerrit-review.googlesource.com/Documentation/user-upload.html)
updating a change
Updating a Change
-----------------
@ -87,7 +94,7 @@ updating a change
The title of this patch set will be "this is the patch set comment message".
scripting
Scripting
---------
You may want to make git aliases for common tasks: