git delete multiple branches local

PHOTO EMBED

Tue Apr 19 2022 15:00:33 GMT+0000 (Coordinated Universal Time)

Saved by @statu7

git branch | grep "pattern" | xargs git branch -d
content_copyCOPY

https://www.codegrepper.com/code-examples/shell/git+delete+multiple+branches+local