Skip to content

Instantly share code, notes, and snippets.

@Erikdegroot89
Last active October 15, 2020 08:52
Show Gist options
  • Save Erikdegroot89/d9b0eee1dcf2ac0fb179aa1ecf497506 to your computer and use it in GitHub Desktop.
Save Erikdegroot89/d9b0eee1dcf2ac0fb179aa1ecf497506 to your computer and use it in GitHub Desktop.
Clean up merged branches
git branch --merged | egrep -v "(^\*|master|rc|dev)" | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment