bcu

Branch Cleaner Upper

Because cleaning up local git branches shouldn't be a pain in the &#%

$ bcu

Select branches to delete (use ↑/↓ or j/k to navigate, Space to select, Enter to confirm, q to quit):

  [ ] feature/old-ui
> [x] bugfix/temp-fix
  [x] experiment/vibe-new-algo
  [ ] hotfix/security-patch

Installation

macOS (Homebrew)

brew install --cask haugen/tap/bcu

Note: Unsigned binary. Run xattr -d com.apple.quarantine /opt/homebrew/bin/bcu after install.

Binary Download

Download the latest release for your platform:

View Releases →

From Source

go install github.com/Haugen/bcu@latest

Usage

Run bcu in any git repository:

cd your-repo && bcu
  • or j k - Navigate
  • Space - Toggle selection
  • Enter - Delete selected branches
  • q or Ctrl+C - Quit