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.的主要内容,如果未能解决你的问题,请参考以下文章

logback 日志级别补充

git产生Gtk-WARNING:无法打开显示

Windows环境git执行git add命令warning: ....

[WARNING: ASM communication error: op 0 state 0x0

R语言tryCatch使用方法:判断Warning和Error

git报错warning: Clone succeeded, but checkout failed