git 删除远程分支

https://blog.zengrong.net/post/1746.html

删除远程分支一直报错,提示:

error: unable to delete ‘master4online’: remote ref does not exist
error: failed to push some refs to ‘http://code.zuihuibao.cn/zhb/car_ins.git

You may need to prune your local “cache” of remote branches first. Try running:

git fetch -p origin

before deleting.

我知道是不会有人点的,但万一有人想不开呢!