mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
'default' is more equivalent to git's 'master' than 'tip'
parent
0019d11b33
commit
6dff6da61b
@ -163,7 +163,7 @@ Your typical day-to-day workflow can be:
|
||||
|
||||
* Add import statements to your `.go` code as needed.
|
||||
* Standard commands like `go build` or `go test` will automatically add new dependencies as needed to satisfy imports (updating `go.mod` and downloading the new dependencies).
|
||||
* When needed, more specific versions of dependencies can be chosen with commands such as `go get foo@v1.2.3`, `go get foo@master` (`foo@tip` with mercurial), `go get foo@e3702bed2`, or by editing `go.mod` directly.
|
||||
* When needed, more specific versions of dependencies can be chosen with commands such as `go get foo@v1.2.3`, `go get foo@master` (`foo@default` with mercurial), `go get foo@e3702bed2`, or by editing `go.mod` directly.
|
||||
|
||||
A brief tour of other common functionality you might use:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user