Commit 452f40f8 authored by Jonathan Feinberg's avatar Jonathan Feinberg Committed by Russ Cox

doc: add important info for would-be go contributors.

Link to the "installing from source" docs instead of the "installing" docs.

Remind would-be hacker to switch to the default branch from the release branch.

R=rsc
CC=golang-dev
https://golang.org/cl/6559043
parent 948db4e0
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<p> <p>
This document explains how to contribute changes to the Go project. This document explains how to contribute changes to the Go project.
It assumes you have installed Go using the It assumes you have installed Go using the
<a href="/doc/install">installation instructions</a> and <a href="/doc/install/source">installation instructions</a> and
have <a href="code.html">written and tested your code</a>. have <a href="code.html">written and tested your code</a>.
(Note that the <code>gccgo</code> frontend lives elsewhere; (Note that the <code>gccgo</code> frontend lives elsewhere;
see <a href="gccgo_contribute.html">Contributing to gccgo</a>.) see <a href="gccgo_contribute.html">Contributing to gccgo</a>.)
......
...@@ -150,6 +150,18 @@ Then check out the repository:</p> ...@@ -150,6 +150,18 @@ Then check out the repository:</p>
$ hg clone -u release https://code.google.com/p/go $ hg clone -u release https://code.google.com/p/go
</pre> </pre>
<h2 id="head">(Optional) Switch to the default branch</h2>
<p>If you intend to modify the go source code, and
<a href="/doc/contribute.html">contribute your changes</a>
to the project, then move your repository
off the release branch, and onto the default (development) branch.
Otherwise, skip this step.</p>
<pre>
$ hg update default
</pre>
<h2 id="install">Install Go</h2> <h2 id="install">Install Go</h2>
<p> <p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment