Created
February 26, 2019 18:30
-
-
Save battoni/a8297574150f83da94549f21e89f359e to your computer and use it in GitHub Desktop.
Git Aliases
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
Delete all branches with the exeption of MASTER and the CURRENT branch you are at execution time: | |
alias gitClean='git branch | egrep -v "(master|\*)" | xargs git branch -D' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment