Remove all local branches that have been merged
# Will remove all merged branches, except the current one. | |
git remote prune origin && git branch --merged | grep -v "\*" | xargs -n 1 git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
To add it as an alias :