$ git branch --all
* 1.1/develop
remotes/origin/1.0/develop
remotes/origin/1.0/master
remotes/origin/1.1/develop
remotes/origin/1.1/master
remotes/origin/HEAD -> origin/1.1/develop
我试过了
$ git branch -d remotes/origin/1.0/develop
error: branch 'remotes/origin/1.0/develop' not found.
但它找不到它。如何删除除当前分支之外的所有分支?
__
编辑:我试过了,分支被删除了。
$ git branch -d -r origin/1.1/master
Deleted remote branch origin/1.1/master (was 834f5e0).