Delete all local branches that are already merged.
This command is useful if you have a buch of local branches that you don’t need anymore.
git branch --merged | grep -v \* | xargs git branch -D
This command is useful if you have a buch of local branches that you don’t need anymore.
git branch --merged | grep -v \* | xargs git branch -D