Skip to content

Instantly share code, notes, and snippets.

@ampatron
Created December 11, 2019 11:59
Show Gist options
  • Save ampatron/0b24c686f364efc56e29bb1433ef709d to your computer and use it in GitHub Desktop.
Save ampatron/0b24c686f364efc56e29bb1433ef709d to your computer and use it in GitHub Desktop.
Force clean up all local branches
git branch | 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