Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Remove all your local git branches but keep master

git branch | grep -v “master” | xargs git branch -D
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #Remove #local #git #branches #master
ADD COMMENT
Topic
Name
2+6 =