Skip to content

Instantly share code, notes, and snippets.

@bsnape
Created December 2, 2013 14:41
Show Gist options
  • Save bsnape/7750443 to your computer and use it in GitHub Desktop.
Save bsnape/7750443 to your computer and use it in GitHub Desktop.
delete merged local branches
git branch --merged master | grep -v 'master$' | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment