Skip to content

Instantly share code, notes, and snippets.

@linki
Last active August 29, 2015 14:05
Show Gist options
  • Save linki/2a02bbd863818ed17148 to your computer and use it in GitHub Desktop.
Save linki/2a02bbd863818ed17148 to your computer and use it in GitHub Desktop.
cleaning up merged branches
# from the dev branch
git branch --merged | grep -Ev "(\*|release)" | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment