From time to time I clean up all the local branches that have assembled over time in a Git repository.
git branch | grep -v "master" | xargs git branch -D
From time to time I clean up all the local branches that have assembled over time in a Git repository.
git branch | grep -v "master" | xargs git branch -D