When this happened, it created the file .git/refs/heads/origin/branch-name. So, I just deleted the file。
执行 rm .git/refs/heads/origin/分支名
再checkout
标签:ref 分支 class post created ted git let pre
When this happened, it created the file .git/refs/heads/origin/branch-name. So, I just deleted the file。
执行 rm .git/refs/heads/origin/分支名
再checkout
git checkout 报错 refname 'origin/branch-name' is ambiguous
标签:ref 分支 class post created ted git let pre
原文地址:https://www.cnblogs.com/cheng6018/p/8474536.html