Skip to content

Instantly share code, notes, and snippets.

@afonsoalban
Created September 14, 2018 13:13
Show Gist options
  • Save afonsoalban/166411ac4a81766f030933e7f1a2a633 to your computer and use it in GitHub Desktop.
Save afonsoalban/166411ac4a81766f030933e7f1a2a633 to your computer and use it in GitHub Desktop.
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment