2 stable releases

2.0.1 Feb 7, 2021

#35 in #cli-app

40 downloads per month

MIT license

12KB
276 lines

🗑 git-tidy

Tidy up stale git branches.

Installation

Cargo

$ cargo install git-tidy

Usage

$ git tidy # executes "git branch -d" on ": gone" branches

With force delete

$ git tidy -f # same as above, but with "-D" instead of "-d"
# or
$ git tidy --force

Interactive

Present all stale (": gone") branches in a checkbox list, allowing user to opt-in to deletions.

$ git tidy -i
# or
$ git tidy --interactive
# with force
$ git tidy -if
# or
$ git tidy --interactive --force

Dependencies

~3–4.5MB
~93K SLoC