-
-
Save AlexandrKolesnikov/86c23d7d205176b737a4d32ea4599b96 to your computer and use it in GitHub Desktop.
Git Command line templates
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
| # This command will parse all your local branched that had been merged instead of master or dev. Then for each branch will be called git branch -d(delete locally) | |
| git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment