Skip to content

Instantly share code, notes, and snippets.

@budius
Last active November 15, 2019 11:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save budius/b21b232789978660b4edf541533c1c8d to your computer and use it in GitHub Desktop.
Save budius/b21b232789978660b4edf541533c1c8d to your computer and use it in GitHub Desktop.
Delete merged branches
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment