gitでローカルのfeature/~ブランチのみ削除

git branch | grep feature | xargs git branch -D

でいける

git branchでブランチ名を全部出力して、それをgrepして、xargsに渡しているだけ。