Skip to content

Instantly share code, notes, and snippets.

@Medalink
Last active October 20, 2021 18:38
Show Gist options
  • Save Medalink/47ec56ad553c70282ac3a4bb52dcd420 to your computer and use it in GitHub Desktop.
Save Medalink/47ec56ad553c70282ac3a4bb52dcd420 to your computer and use it in GitHub Desktop.
Cleanup local git branch
git branch --merged | egrep -v "(^\*|main|qa|develop)" | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment