Git 同步远程分支( prune )

当你的远程分支已删除时,本地Gitbranch-a 查看时,发现那些删除的分支还在,想删除?那恭喜你,就可以使用下面这两个分支了:

git fetch origin --prune

or

git remote prune origin
原文地址:https://www.cnblogs.com/wxgthinking/p/8005221.html