Last active
October 1, 2025 21:36
-
-
Save rohitpaulk/45a391e60c707ed6abcf987c976fa94d to your computer and use it in GitHub Desktop.
Delete old merged git branches
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|main)" | xargs git branch -d #gitclean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment