Git

Git: Clean Up Branches

Handy snippet to run, to delete all but the current branch:

$ git branch | xargs git branch -D
$ git remote prune origin
Standard

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.