Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save LeandroBarral/f62bb92739b1f51985572d2594392fe9 to your computer and use it in GitHub Desktop.
Save LeandroBarral/f62bb92739b1f51985572d2594392fe9 to your computer and use it in GitHub Desktop.
cleanup local merged branches
git branch --merged | egrep -v "(^\*|master|develop)" | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment