From 491ec4dff51dfe7ba721c85da0a30eceb99aa85c Mon Sep 17 00:00:00 2001
From: Brad Fitzpatrick
Date: Tue, 13 Jun 2017 22:50:35 +0000
Subject: [PATCH] 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
---
doc/contribute.html | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/doc/contribute.html b/doc/contribute.html
index 753aefaa29..e3f69580dd 100644
--- a/doc/contribute.html
+++ b/doc/contribute.html
@@ -30,6 +30,25 @@ You must go through the following process prior to contributing.
You only need to do this once per Google Account.
+Automatically set up & diagnose your development environment
+
+ The go-contrib-init
tool configures and debugs your Go
+ development environment, automatically performing many of the steps
+ on this page, or telling you what you need to do next. If you wish
+ to use it, run:
+
+
+
+$ go get -u golang.org/x/tools/cmd/go-contrib-init
+$ cd /code/to/edit
+$ go-contrib-init
+
+
+
+ The tool will either set things up, tell you that everything is
+ configured, or tell you what steps you need to do manually.
+
+
Configure Git to use Gerrit
You'll need a web browser and a command line terminal.