Skip to content

Instantly share code, notes, and snippets.

@rederlo
Last active March 3, 2016 14:49
Show Gist options
  • Save rederlo/79fab5a1cbbd72b0aa6a to your computer and use it in GitHub Desktop.
Save rederlo/79fab5a1cbbd72b0aa6a to your computer and use it in GitHub Desktop.
Delete multiples branches diff master
git branch -D `git branch | grep 'master\|<other_branch>' -v`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment