]> Cypherpunks repositories - gostls13.git/commitdiff
doc: mention that GOPATH/bin should be in PATH
authorGiovanni Bajo <rasky@develer.com>
Sat, 27 Jul 2019 18:55:54 +0000 (11:55 -0700)
committerGiovanni Bajo <rasky@develer.com>
Sat, 27 Jul 2019 19:01:49 +0000 (19:01 +0000)
As noticed while mentoring at Gophercon, a common mistake for
beginners is that, after they install git-codereview, it's not
found by git because they haven't put GOPATH/bin in their
environment.

Change-Id: I885cee0f532a4069d1a17ea27365d54965ecca22
Reviewed-on: https://go-review.googlesource.com/c/go/+/187818
Reviewed-by: Katie Hockman <katie@golang.org>
doc/contribute.html

index 471eeef5369c0706b84015331dfbe5778f9cc314..14839a683191aed4b3fa91bc230838467eeba491 100644 (file)
@@ -238,7 +238,8 @@ $ git codereview help
 </pre>
 
 <p>
-prints help text, not an error.
+prints help text, not an error. If it prints an error, make sure that $GOPATH/bin
+is in your $PATH.
 </p>
 
 <p>