Files
memoir/content/git/remove-merged-branch.md
2025-09-06 19:19:45 +02:00

328 B

tags
tags
git
branch
clean
delete

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

Original SO Link