Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: go get: no matching versions for query when branch starts with v\d #57122

switchupcb opened this issue Dec 6, 2022 · 1 comment


Copy link

What version of Go are you using (go version)?

$ go 1.19

Does this issue reproduce with the latest release?


What operating system and processor architecture are you using (go env)?

go env Output
$ go env
set GOPROXY=,direct

What did you do?

The following works (tag-specifier).

go get

The following doesn't work (branch-specifier).

go get
go: no matching versions for query "v10"

The following works (branch-specifier).

go get

There is no "main" branch, however the main branch represents a branch named v10.

What did you expect to see?

go get works with the v10 branch-specifier.

What did you see instead?

no matching versions for query "v10"

Copy link

Duplicate of #29731

@seankhliao seankhliao marked this as a duplicate of #29731 Dec 6, 2022
@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2022
@golang golang locked and limited conversation to collaborators Dec 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

No branches or pull requests

3 participants