Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git delete local branch except master

git branch | grep -v "develop" | grep -v "master" | xargs git branch -D
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #delete #local #branch #master
ADD COMMENT
Topic
Name
7+1 =