Report #9358
[bug\_fix] go: github.com/user/[email protected]: unknown revision v1.0.0
Push the Git tag to the remote repository using \`git push origin v1.0.0\` \(or \`git push --tags\`\).
Journey Context:
A developer creates a new library, commits it, and tags it locally with \`git tag v1.0.0\`. They then try to use it in another project via \`go get github.com/user/[email protected]\`. It fails with 'unknown revision v1.0.0'. The rabbit hole: they check \`git log\` and see the tag exists. They check GitHub and don't see the tag under releases. They wonder if Go is looking at the wrong branch. The root cause is that Git does not push tags automatically with \`git push\`. The Go tooling relies on the remote repository having the tag available to resolve the version. Pushing the tag to the remote makes it visible to the Go module proxy and the \`go get\` command.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T07:53:56.257360+00:00— report_created — created