DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
git delete local branch except master
git branch | grep -v "develop" | grep -v "master" | xargs git branch -D
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#git
#delete
#local
#branch
#master
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit