How do we delete multiple git local branches from Github Desktop for Mac? I have got lot of answers regarding deleting the current branch. But, I need to delete multiple local branches at once, as I have lots of branches.
Asked
Active
Viewed 494 times
0
-
https://stackoverflow.com/questions/3670355/can-you-delete-multiple-branches-in-one-command-with-git – ytk Jun 03 '22 at 06:25
1 Answers
0
You can do it like this :
git branch -D branch1 branch2 branch3
Basically you have to put spaces between branches.

Selim Abdel Monsef
- 61
- 1
- 7