Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git rm branch no remotes

git fetch -p && for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do git branch -D $branch; done
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #rm #branch #remotes
ADD COMMENT
Topic
Name
1+6 =