Created
October 24, 2016 13:37
-
-
Save riyaz/afa4a38e694ea275ee5bb41942354cf6 to your computer and use it in GitHub Desktop.
Clean the local branches regularly with these alias
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 brclean='git branch --merged | grep -v develop | xargs git branch -d && git remote prune origin' | |
alias brclean-dry='git branch --merged | grep -v develop' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment