Skip to content

Instantly share code, notes, and snippets.

@samthomson
Created April 11, 2022 08:17
Show Gist options
  • Save samthomson/efa49bc6dc58f4f7d7248c8c875455db to your computer and use it in GitHub Desktop.
Save samthomson/efa49bc6dc58f4f7d7248c8c875455db to your computer and use it in GitHub Desktop.
git config
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