Answers for "remove all your local git branches but keep master windows 10"

1

git delete all branches except master

git branch | grep -v "master" | xargs git branch -D
Posted by: Guest on May-18-2020
0

Remove all your local git branches but keep master

git branch | grep -v “master” | xargs git branch -D
Posted by: Guest on August-06-2021

Code answers related to "remove all your local git branches but keep master windows 10"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language