git_branches 0.2.1
git_branches: ^0.2.1 copied to clipboard
CLI tool to find merged & stale local git branches and batch-delete or push them.
0.2.1 #
Features
- detect squash- and rebase-merged branches (which
git branch --mergedmisses) via a patch-id check, shown with asquashedbadge and treated as safe-to-delete; results are cached per branch/base tip so reloads stay fast. - the UI now paints the branch list immediately from reachability and fills in squash-merge detection in the background.
0.1.0 #
- Initial version of the project.
Features
- interactive nocterm UI listing local branches with merge state, staleness, and upstream status, ordered by last activity.
- triple-state batch marking (none → delete → push) with a single confirmed apply, plus quick
d/pactions on the highlighted branch. - local-only delete (
-dfor merged,-Dwith extra confirmation for unmerged); push with automatic-u origin <branch>when no upstream exists. - sort (stalest / recent / name) and filter (all / merged / unmerged) toggles; current and default branches are protected.
listcommand for plain-text output (--merged,--stale).democommand building a self-contained repo with a local remote and a realistic mix of branches, no network required.