{"repo":"armgabrielyan/deadbranch","free":true,"listed":false,"github":"https://github.com/armgabrielyan/deadbranch","clone":"git clone https://github.com/armgabrielyan/deadbranch.git","description":"Clean up stale git branches safely.","language":"Rust","stars":227,"topics":["branch","cleanup","cli","git","rust"],"license":"MIT","category":"cli-tools","readme_excerpt":"deadbranch Clean up stale git branches safely. Table of Contents - Demo - Features - Installation - Quick Install (macOS/Linux) - Homebrew (macOS/Linux) - npm/npx - Cargo (from source) - Manual Download - Build from Source - Shell Completions - Quick Start - Usage - List Stale Branches - Delete Stale Branches - Interactive Mode - Dry Run Mode - Configuration - Backup Management - Branch Statistics - Safety Features - Restoring Deleted Branches - Pattern Matching - Requirements - Roadmap - License - Contributing deadbranch helps you identify and remove old, unused git branches that clutter your repository. It's designed to be safe by default — protecting important branches and requiring explicit confirmation before any deletion. Demo ✨ Features - 🔍 List stale branches — Find branches older than N days (default: 30) - 🔒 Safe deletion — Only deletes merged branches by default - 🛡️ Protected branches — Never touches main , master , develop , staging , or production - 🚧 WIP detection — Automatically excludes wip/ and draft/ branches - 💾 Backup creation — Saves deleted branch SHAs for easy restoration - 👁️ Dry-run mode — Preview what would be deleted without making changes - 🌐 Local & remote — Works with both local and remote branches - 🖥️ Interactive TUI mode — Full-screen TUI with Vim navigation, fuzzy search, visual range selection, and 6-column sorting 📦 Installation ⚡ Quick Install (macOS/Linux) 🍺 Homebrew (macOS/Linux) 📦 npm/npx 🦀 Cargo (from source) ⬇️ Manual Dow","default_branch":null,"files":null,"tree":[],"storefront":"/r/armgabrielyan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/armgabrielyan/deadbranch/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}