Created
December 25, 2017 19:24
-
-
Save ajtrichards/3fbe2e5fe61151465455ceb52cd3ee5e to your computer and use it in GitHub Desktop.
A command to delete merged branches in GIT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment