Created
May 2, 2017 20:26
-
-
Save freemanirl/7048c4c10b5d38a3269fccb9cd9d3e33 to your computer and use it in GitHub Desktop.
Git Delete Merged Local Branches
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 | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment