DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
Remove All Local Branches not on Remote
$ git branch -r | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | xargs git branch -d
Source by www.ahmedbouchefra.com #
PREVIOUS
NEXT
Tagged:
#Remove
#All
#Local
#Branches
#Remote
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit