Git Error: warning: refname 'origin/branch-name' is ambiguous.

Posted cheng6018

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Git Error: warning: refname 'origin/branch-name' is ambiguous.相关的知识,希望对你有一定的参考价值。

When this happened, it created the file .git/refs/heads/origin/branch-name. So, I just deleted the file:

1 $ rm .git/refs/heads/origin/branch-name

  

以上是关于Git Error: warning: refname 'origin/branch-name' is ambiguous.的主要内容,如果未能解决你的问题,请参考以下文章