Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git delete branches not on remote

git branch --merged >/tmp/merged-branches && 
  vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #delete #branches #remote
ADD COMMENT
Topic
Name
2+6 =