Last active
June 20, 2024 01:23
-
-
Save wsagen/1d7eacc6f8584887e713e12da7dd8260 to your computer and use it in GitHub Desktop.
Delete local branches that have been merged
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 --merged | egrep -v "(^\*|master|develop|main|PRODUCTION)" | xargs git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment