DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
delete local branches not on remote
git branch -vv | grep ': gone]'| grep -v "*" | awk '{ print $1; }' | xargs -r git branch -D
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#delete
#local
#branches
#remote
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit