Skip to content

Instantly share code, notes, and snippets.

@luismayta
Created August 28, 2012 02:49
Show Gist options
  • Save luismayta/3494494 to your computer and use it in GitHub Desktop.
Save luismayta/3494494 to your computer and use it in GitHub Desktop.
deleted branch
#deleted branch merged
git branch --merged | grep -v \* | xargs git branch -D
#deleted branch with before bug
git branch --merged | grep 'bug' | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment