Created
September 17, 2018 07:43
-
-
Save vladholubiev/44cfbf1b25b30bc18e4bdcf224b6e04a to your computer and use it in GitHub Desktop.
git clean-branches - removes any local branch which is not master/develop(ment)
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 config --global alias.clean-branches '!git branch | grep -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