Delete multiple git branches Delete all branches with fix prefix git branch | grep fix | xargs git branch -D Delete all branches with feat prefix git branch | grep feat | xargs git branch -D