Here is an example where what Joseph assumed about what happened really happened to us.
git merge BranchyBranch_r2.1 warning: refname 'BranchyBranch_r2.1' is ambiguous.
In fact, there is both a tag and a branch with the same name (BranchyBranch_r2.1), and in addition, someone tried to alleviate the problem by superimposing a tag on it that duplicated the branch.
git show-ref --heads --tags ac729d902578378557f9f20dbd415c5748a23230 refs/heads/BranchyBranch_r2.1 9f3d242e03837fd33f8355005e9edbee89367bef refs/heads/develop 5995987876e6a2315544bd774b546ed561f78a53 refs/heads/master df26c94be018268e2897807c0750b5c66150750b refs/tags/BranchyBranch_r2.1 df26c94be018268e2897807c0750b5c66150750b refs/tags/BranchyBranch_r2.1Tag
If you reference the branch with your full name, you can continue.
git merge refs/heads/BranchyBranch_r2.1
Ben butzer
source share