As I was working on my Vue and Supabase Boilerplate project, I completed many features. I needed to have a script that would remove any local branch not named main or develop or that wasn’t the checked-out branch or that didn’t have a remote equivalent.
Yes, what follows will remove any branch that you may have created and not yet pushed ⚠️. So be careful.
Let’s see how to speed up the clean-up process.
⬇️⬇️⬇️
Let’s review this in the full article
Originally published on iamjeremie.me
Thanks for reading my publication! This post is public so feel free to share it.

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.