Git 远程删除分支后,本地 git branch -a 依然能看到的解决办法


转载网址:

https://www.cnblogs.com/renhui/p/14804641.html

prune:修剪的意思

如git remote prune origin 就是修剪的意思,把origin中不存在的远程分支去掉

git remote prune +remote分支名

Git