open_in_new
content_copy
# Delete all local branches except master git branch | grep -v "master" | xargs git branch -D