Created
August 9, 2021 00:40
-
-
Save sweeetland/974947779c159c5ee99b2f8b68d65ba3 to your computer and use it in GitHub Desktop.
Delete all local branches (merged and unmerged)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git branch | egrep -v "(^\*|development|staging|production)" | xargs git branch -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment