Created
December 21, 2016 05:47
-
-
Save aslamhadi/afa454355e2c037d496884d5e2e9d270 to your computer and use it in GitHub Desktop.
Remove merged branches in local
This file contains 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