我知道这之前已经介绍过,但是我尝试了以下方法,似乎无法删除远程分支。
aly@neon:~/workspace/3DOD_VARIANCE$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/multi_gauss_at_nodes
remotes/origin/old-state-with-mean-deviation-from-centre
remotes/origin/variance-branch
aly@neon:~/workspace/3DOD_VARIANCE$ git branch -r -d origin/old-state-with-mean-deviation-from-centre Deleted remote branch origin/old-state-with-mean-deviation-from-centre (was 0ed90b2).
Fetching origin
From https://bitbucket.org/alykhantejani/3dobjectdetection
* [new branch] old-state-with-mean-deviation-from-centre -> origin/old-state-with-mean-deviation-from-centre
如您所见,分支已被再次获取。知道我做错了什么吗?
另外,作为旁注,有没有办法让我在删除之前检查这个分支是否已经合并回 master ?