Skip to content

Instantly share code, notes, and snippets.

@bionix
Created July 22, 2016 17:58
Show Gist options
  • Save bionix/2e87223ac8c66952e21489f7faefe10d to your computer and use it in GitHub Desktop.
Save bionix/2e87223ac8c66952e21489f7faefe10d to your computer and use it in GitHub Desktop.
# gitconfig
# git alias
# Remove branches that have already been merged with master
# a.k.a. ‘delete merged’
dm = "!git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment