git branch | grep -v "master" | xargs git branch -D
🛒 Get all branches (except for the master) via git branch | grep -v "master" command
👇 Select every branch with xargs command
💦 Delete branch with xargs git branch -D
Tip: You can change the style, width & colours of the snippet with the
inspect tool before clicking Download!