首页 > 其他 > 详细

git checkout 报错 refname 'origin/branch-name' is ambiguous

时间:2018-02-26 18:52:05      阅读:492      评论:0      收藏:0      [点我收藏+]

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

原文:https://www.cnblogs.com/cheng6018/p/8474536.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!