Clean up your git branches
May 25, 2023 · 1 min read · To delete multiple Git branches at once, you can use the combination of git branch, grep, and xargs commands. The git branch command lists all local branches, grep -v master filters out the master branch from the output, and xargs git branch -D delet...
Join discussion


