Created
December 27, 2016 08:36
-
-
Save jantimon/5b9fd9330f38d076a374c03fcbb788e1 to your computer and use it in GitHub Desktop.
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
[alias] | |
# Delete any branches that have been merged except master, development and the current branch | |
cleanup = !git remote prune origin && git branch --merged | egrep -v '(^\\*|master|develop)' | xargs git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thx! updated it a tiny bit. comment is a great idea.