Skip to content

Commit 491ec4d

Browse files
committed
doc: add go-contrib-init mention to contributing docs
Fixes #17802 Change-Id: I245552534c3e21d95c569ac7118ba289244ba11d Reviewed-on: https://go-review.googlesource.com/45652 Reviewed-by: Steve Francia <[email protected]>
1 parent 882a640 commit 491ec4d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

doc/contribute.html

+19
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,25 @@ <h1 id="contributor">Becoming a contributor</h1>
3030
You only need to do this once per Google Account.
3131
</p>
3232

33+
<h2 id="go-contrib-init">Automatically set up &amp; diagnose your development environment</h3>
34+
<p>
35+
The <code>go-contrib-init</code> tool configures and debugs your Go
36+
development environment, automatically performing many of the steps
37+
on this page, or telling you what you need to do next. If you wish
38+
to use it, run:
39+
</p>
40+
41+
<pre>
42+
$ go get -u golang.org/x/tools/cmd/go-contrib-init
43+
$ cd /code/to/edit
44+
$ go-contrib-init
45+
</pre>
46+
47+
<p>
48+
The tool will either set things up, tell you that everything is
49+
configured, or tell you what steps you need to do manually.
50+
</p>
51+
3352
<h2 id="auth">Configure Git to use Gerrit</h2>
3453
<p>
3554
You'll need a web browser and a command line terminal.

0 commit comments

Comments
 (0)