@cs7player/cleaner
v2.0.4
Published
A CLI tool to safely clean up unwanted local Git branches.
Maintainers
Readme
✨ Cleaner CLI
Cleaner CLI is a lightweight and interactive tool to manage local Git branches.
It helps developers clean up their repositories by removing merged or unwanted branches safely and efficiently.
🚀 Features
- 🗑️ Safe Cleanup: Delete merged local branches with
-d. - 💥 Force Delete: Remove all local branches with
-Dusing--forceor-f. - 🎯 Interactive Selection: Choose specific branches to delete with
--chooseor-c. - 📋 Branch Listing: View local branches and their merge status with
--listor-l. - 🔄 Sync with Remote: Update your local repository and prune deleted remote branches using
--syncor-s. - ⭐ Current Branch Protection: The current branch is never deleted accidentally.
- ✅ CLI-friendly: Arrow keys, spacebar, and Enter support for selections.
🛠 Installation
1. Global Installation (Recommended for CLI usage)
cd /path/to/cleaner
npm link