Possible Duplicate:
Can you delete multiple branches in one command with Git?
I'm trying to clear out my old feature branches in my git repo, and I find myself typing
git branch -d SOME_BRANCH_NAME
for each branch name. Does git support any type of wildcard expansion, so I could specify something like:
git branch -d temp_branch_*
thanks
Well, in the worst case, you could:
git branch | grep temp_branch | xargs git branch -d
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With