Answers for "get rid of all branches except specified"

0

how to delete all branches in git except master

$ git branch | grep -v '^*' | xargs git branch -D
Posted by: Guest on June-07-2020

Code answers related to "get rid of all branches except specified"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language