deadbranch

rust
mit

Clean up stale git branches safely.

deadbranch is a git branch cleanup tool for finding and removing stale branches without deleting useful work.

 

It finds old branches, deletes merged ones by default, protects main branch names, also skips WIP and draft patterns, saves backup SHAs, and works with local or remote branches.

 

Other features include dry runs, branch statistics, backup restore, shell completions, and an interactive TUI interface with searching, visual selection, sorting, and a fun particle dissolving animation when a branch is deleted.

 

This tool makes sense for developers maintaining repos when old branches pile up after fixes, experiments, and reviews in the terminal. It is also an ideal tool even if sometimes you want to delete a branch in style.

Get Updates On Terminal Trove.

No spam, just updates on Terminal Trove. See an example update.