2
编辑:分支已被删除,而不是链接问题的副本。下面的Prune答案是答案。删除git参考
原始
我推一个分支,以遥控器,我想删除。我开始删除分支。所以分支不再存在。
git branch -r
origin/develop
origin/master
我的当地分店也将它删除。
git branch
* develop
master
但是,如果我做了ls-remote,它就显示出来了。
git ls-remote
From [email protected]<address>:<project>.git
<hash> HEAD
<hash> refs/heads/develop
<hash> refs/heads/master
<hash> refs/heads/portmapping
<hash> refs/tags/3.1.3
有问题的参考是portmapping。这是我删除的分支,但它仍然显示为参考。我如何删除它?
的可能的复制【如何本地和远程删除一个Git分支?](http://stackoverflow.com/questions/2003505/how-to-delete-a-git-branch-both-locally -and-远程) –