Created
April 11, 2022 08:17
-
-
Save samthomson/efa49bc6dc58f4f7d7248c8c875455db to your computer and use it in GitHub Desktop.
git config
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
run to edit git config: `git config -e --global` | |
``` | |
[alias] | |
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 -r git branch -d" | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment