📌  相关文章
📜  git delete 多个本地分支 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:13.490000             🧑  作者: Mango

代码示例1
// git remove multiple branch
// here pattern refers to few characters of branch name that is common between multiple branches

// delete branch locally
git branch | grep "pattern" | xargs git branch -d

// delete local branch that is unmerged
git branch | grep "pattern" | xargs git branch -D