Interactive CLI for deleting branches and tags on a git remote.
delete-refs lists every ref on the remote (except main), lets you pick the branches and tags you want gone, and deletes them from the remote in one go.
npm install -g delete-refsOr run it directly:
npx delete-refsFrom inside a git repository:
delete-refsSelect the refs to delete with the interactive prompt and confirm. Each selected branch/tag is deleted on origin.