`warning: refname 'release' is ambiguous.`
IntermediateTroubleshootingPush, Pull and Fetch Errors
Answer
Likely causes → A branch and a tag (or two other refs) share the same name, so Git cannot tell which you mean.
Diagnose →
git show-ref release
git for-each-ref | grep release
Fix → Be explicit: refs/heads/release or refs/tags/release. Rename one: git tag -d release and recreate with a clear name, or git branch -m release release-2.0.
Prevent → Use prefixes (release/2.0, tags v2.0.0) so names never collide.
More on Push, Pull and Fetch Errors
`! [rejected] main -> main (fetch first)` / `(non-fast-forward)`Beginner`remote: error: GH006: Protected branch update failed for refs/heads/main.`Intermediate`! [rejected] feature -> feature (stale info)` with `--force-with-lease`.Intermediate`You are not currently on a branch.` when running `git pull` or `git push`.Beginner`There is no tracking information for the current branch.` when running `git pull`.Beginner`fatal: The current branch feature has no upstream branch.` on `git push`.Beginner