Last active
May 13, 2021 15:02
-
-
Save danilogco/5e1d557960908e2b015c2bb02a6081fa 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
git config -e --global | |
[alias] | |
cleanup = "!git fetch -f && git branch | grep -v "dev" | grep -v "master" | xargs --no-run-if-empty git branch -D && git gc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment