git delete all branches that are merged into current branch

git branch --merged | grep -v "*" | grep -v master | grep -v develop | xargs -n 1 git branch -d


Ryan Sukale

Ryan is a UX engineer living in San Francisco, California.

You may also like...

Leave a Reply

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