@@ -194,14 +194,19 @@ <h2 id="fetch">Fetch the repository</h2>
194
194
< p > Go will install to a directory named < code > go</ code > .
195
195
Change to the directory that will be its parent
196
196
and make sure the < code > go</ code > directory does not exist.
197
- Then clone the repository and check out the latest release tag:</ p >
197
+ Then clone the repository and check out the latest release tag
198
+ (< code class ="versionTag "> go1.6</ code > , for example):</ p >
198
199
199
200
< pre >
200
201
$ git clone https://go.googlesource.com/go
201
202
$ cd go
202
- $ git checkout go1.6
203
+ $ git checkout < span class =" versionTag " > < i > <tag> </ i > </ span >
203
204
</ pre >
204
205
206
+ < p class ="whereTag ">
207
+ Where < code > <tag></ code > is the version string of the release.
208
+ </ p >
209
+
205
210
< h2 id ="head "> (Optional) Switch to the master branch</ h2 >
206
211
207
212
< p > If you intend to modify the go source code, and
@@ -378,7 +383,7 @@ <h2 id="releases">Keeping up with releases</h2>
378
383
< a href ="//groups.google.com/group/golang-announce "> golang-announce</ a >
379
384
mailing list.
380
385
Each announcement mentions the latest release tag, for instance,
381
- < code > go1.6</ code > .
386
+ < code class =" versionTag " > go1.6</ code > .
382
387
</ p >
383
388
384
389
< p >
@@ -388,11 +393,13 @@ <h2 id="releases">Keeping up with releases</h2>
388
393
< pre >
389
394
$ cd go/src
390
395
$ git fetch
391
- $ git checkout < i > <tag></ i >
396
+ $ git checkout < span class =" versionTag " > < i > <tag></ i > </ psan >
392
397
$ ./all.bash
393
398
</ pre >
394
399
400
+ < p class ="whereTag ">
395
401
Where < code > <tag></ code > is the version string of the release.
402
+ </ p >
396
403
397
404
398
405
< h2 id ="environment "> Optional environment variables</ h2 >
0 commit comments