Created
April 29, 2022 09:20
-
-
Save GalassoLuca/08012ae62e1edf7bd8ee86e1a04b4094 to your computer and use it in GitHub Desktop.
Remove all local git branches but keep develop, stage and master
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 | egrep -v " develop| stage| master" | xargs git branch -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment