What It Does
git-tidy audits the whole repository and shows the evidence for each proposed
removal. It aims to leave the primary checkout clean on the verified default
branch, with that branch as the sole local branch and zero stashes. One
confirmation covers the listed actions, including stale origin tracking refs.
Recovery backups are verified before removal.
The audit covers remote refs, tags, ignored tracking, artifacts, large blobs, and maintenance. The final summary lists removals, retained work, and blockers. Active work and operational checkouts are preserved. Changing live remote branches requires an explicit request.
Use --dry-run for a preview, --depth metadata for inventory, or
--depth review for a bounded content review. Proof requires Node.js 22 or
newer.
Use It
git-tidy
git-tidy branches --depth proof
git-tidy worktrees --depth metadata
git-tidy stashes --depth review
git-tidy tags
git-tidy artifacts
git-tidy blobs
git-tidy maintenance
git-tidy --dry-run