Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git delete merged branches

git branch --merged | egrep -v "(^*|master|dev)" | xargs git branch -d
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #delete #merged #branches
ADD COMMENT
Topic
Name
8+7 =