Skip to content

Instantly share code, notes, and snippets.

@zorawar87
Last active March 14, 2020 21:07
Show Gist options
  • Save zorawar87/1693fd11c040bee0dc15861e494b2c5d to your computer and use it in GitHub Desktop.
Save zorawar87/1693fd11c040bee0dc15861e494b2c5d to your computer and use it in GitHub Desktop.
Delete unmerged, local-only git branches in a single repo
git branch --color=never --no-merged | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment