From 19e27c731b0e2fa97d049f5e6400698bc36ae3e4 Mon Sep 17 00:00:00 2001
From: Russ Cox
Gerrit uses Google Accounts for authentication. If you don't have
@@ -120,7 +120,7 @@ Your secret authentication token is now in a .gitcookie
file
and Git is configured to use this file.
Now that you have your authentication token, @@ -132,7 +132,7 @@ to Google Accounts. Sign in using the same Google Account you used above. That is all that is required.
-Gerrit serves as the gatekeeper and uses your e-mail address as the key. To send your first change to the Go project from a given address, @@ -167,7 +167,14 @@ you can create one by clicking "New Contributor Agreement" and following the ste This rigmarole only needs to be done for your first submission for each email address.
-
+If the copyright holder for the code you are submitting changesâfor example,
+if you start contributing code on behalf of a new companyâplease send email
+to let us know, so that we can make sure an appropriate agreement is completed
+and update the AUTHORS
file.
+
Now install the git-codereview
command by running,
@@ -201,7 +208,7 @@ if you intend to use plain Git for daily work, install the hooks in a new Git
checkout by running git-codereview
hooks
.
The git-codereview
command can be run directly from the shell
@@ -243,7 +250,7 @@ To install them, copy this text into your Git configuration file
sync = codereview sync
-
After installing the git-codereview
command, you can run
Most Go installations use a release branch, but new changes should
@@ -276,7 +283,7 @@ $ git sync
git
pull
-r
.)
The entire checked-out tree is writable.
@@ -405,7 +412,7 @@ Do not edit or delete it.
runs git
commit
--amend
.)
Once the change is ready, mail it out for review: @@ -455,7 +462,7 @@ remote: New Changes: remote: https://go-review.googlesource.com/99999 math: improved Sin, Cos and Tan precision for very large arguments -
Running git
mail
will send an email to you and the
@@ -467,7 +474,7 @@ You must reply through the web interface.
(Unlike with the old Rietveld review system, replying by mail has no effect.)
You must respond to review comments through the web interface.
@@ -494,7 +501,7 @@ You can see a list of your pending changes by running git
change
<branch>
.
While you were working, others might have submitted changes to the repository.
@@ -612,7 +619,7 @@ Then run git
rebase
--continue
to
restore the change commit.
You can import a change proposed by someone else into your local Git repository. @@ -629,7 +636,7 @@ $ git fetch https://go.googlesource.com/review refs/changes/21/1221/1 && To revert, change back to the branch you were working in.
-
After the code has been LGTM
'ed, an approver may
@@ -648,7 +655,7 @@ the commit hashes in the repository will be changed by
the submit operation.
In addition to the information here, the Go community maintains a CodeReview wiki page. -- 2.50.0