git批量刪除分支

如何使用git批量刪除分支 當我們開發久了之後本地會留下許多不用的分支,逐條刪除太浪費時間,可用批量刪除, git branch |grep ‘xxx’|xargs git branch -D 例如: 參考https://www.jianshu.com/p/1fb0adf2000e
相關文章
相關標籤/搜索