Skip to content

Instantly share code, notes, and snippets.

@stavarotti
Created January 12, 2016 23:02
Show Gist options
  • Save stavarotti/62412e509b89e24d9c31 to your computer and use it in GitHub Desktop.
Save stavarotti/62412e509b89e24d9c31 to your computer and use it in GitHub Desktop.
Deleted merged branches
git branch --merged | grep -vE "develop|master" | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment