Created
November 25, 2021 10:59
-
-
Save brianvarskonst/4d861b06d9fe4ab4c1e043e97f8bf484 to your computer and use it in GitHub Desktop.
Remove merged Branches
This file contains 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 --merged | egrep -v "(^\*|master|main|dev)" | xargs git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment