margrop/margropcomment.margrop.io

git删除远程分支报错: remote ref does not exist | 魔都水滴

Opened this issue · 0 comments

https://blog.margrop.net/post/git-shan-chu-yuan-cheng-fen-zhi-bao-cuo-remote-ref-does-not-exist/

问题描述
在视图删除某个远程分支的时候显示:remote ref does not exist
解决方案
解决方案是首先清除远程分支的本地缓存:git fetch -p origin
可以看到,我们要删除的远程分支其实已经删除了。

参考
...