You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# go get github.com/ncw/rclone
...
# cd github.com/ncw/rclone
# git checkout v1.39
Note: checking out 'v1.39'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at f34a9116... Version v1.39
# go get -u -v github.com/ncw/rclone
github.com/ncw/rclone (download)
cd /home/actionmystique/src/GO-Packages/src/github.com/ncw/rclone; git pull --ff-only
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
package github.com/ncw/rclone: exit status 1
What did you expect to see?
The ability to build a git package on a specific tag
What did you see instead?
an error
My proposal
# go get <git_package> <git_tag>
OR
# git checkout <git_tag>
# go get -u <git_package>
The text was updated successfully, but these errors were encountered:
bradfitz
changed the title
[proposal] allow 'go get' to checkout a specific tag on a git clone
proposal: allow 'go get' to checkout a specific tag on a git clone
Dec 26, 2017
mikioh
changed the title
proposal: allow 'go get' to checkout a specific tag on a git clone
proposal: cmd/go: allow 'go get' to checkout a specific tag on a git clone
Dec 27, 2017
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
The ability to build a git package on a specific tag
What did you see instead?
an error
My proposal
OR
The text was updated successfully, but these errors were encountered: