同步远程分支,清理本地已经无效的origin分支
git remote prune origin
批量删除分支名带feature本地分支
git branch -a | grep feature | xargs git branch -D
同步远程分支,清理本地已经无效的origin分支
git remote prune origin
批量删除分支名带feature本地分支
git branch -a | grep feature | xargs git branch -D
转载于:https://my.oschina.net/boogoogle/blog/3046526