Skip to content

cmd/go: "go get" ignores github default branch #9032

Closed
@rogpeppe

Description

@rogpeppe
Doing "go get github.com/foo/bar" will always check out
master (assuming no tags are set) even when the default
branch in github is explicitly set to something else.

A possible fix might be to leave vcsGit.tagSyncDefault nil.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions