Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

clean local branches git

git branch --merged master | grep -v '^[ *]*master$' | xargs git branch -d
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #clean #local #branches #git
ADD COMMENT
Topic
Name
4+3 =