From: Russ Cox Date: Wed, 17 Feb 2016 15:46:30 +0000 (-0500) Subject: doc: mention multi-change branches in contribute.html X-Git-Tag: go1.6~1^2~2 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f997475129cb12924e34156a0529d88612695d22;p=gostls13.git doc: mention multi-change branches in contribute.html Fixes #13651. Change-Id: I1d21b49e2b5bc6c507eb084d6d2553e5a9c607cf Reviewed-on: https://go-review.googlesource.com/19552 Reviewed-by: Ian Lance Taylor Reviewed-by: Chris Broadfoot --- diff --git a/doc/contribute.html b/doc/contribute.html index a321a8646f..4619c81124 100644 --- a/doc/contribute.html +++ b/doc/contribute.html @@ -198,9 +198,13 @@ prints help text, not an error.

-Note to Git aficionados: The git-codereview command is not required to +Note to Git aficionados: +The git-codereview command is not required to upload and manage Gerrit code reviews. For those who prefer plain Git, the text -below gives the Git equivalent of each git-codereview command. If you do use plain +below gives the Git equivalent of each git-codereview command. +

+ +

If you do use plain Git, note that you still need the commit hooks that the git-codereview command configures; those hooks add a Gerrit Change-Id line to the commit message and check that all Go source files have been formatted with gofmt. Even @@ -208,6 +212,12 @@ if you intend to use plain Git for daily work, install the hooks in a new Git checkout by running git-codereview hooks.

+

+The workflow described below assumes a single change per branch. +It is also possible to prepare a sequence of (usually related) changes in a single branch. +See the git-codereview documentation for details. +

+

Set up git aliases