git-trim

A command-line tool that removes Git tracking branches whose upstreams are merged or gone.

By foriequal0

Compare git-trim with another product

Alternatives

See all alternatives

About git-trim

git-trim finds local tracking branches whose upstream branches have been merged or become stray, then helps remove them. It is designed to complement git fetch --prune.

You can run it as a standalone binary or install it with Cargo. Its dry-run option lets you inspect what it would trim before removing branches.

Strengths

  • Identifies merged or stray tracking branches
  • Includes a dry-run option
  • Available as a binary or through Cargo

Limitations

  • Requires Git and configured upstream branches

Details

Pricing
FreeFree and open source under the MIT license.
License
MIT
Developer
foriequal0
Platforms
Windows, macOS, Linux, Command line
How it runs
Downloadable app
Best suited for
Developers cleaning up stale local branches in Git repositories
Last verified
Added
Provenance
Selected from the Homebrew formula

Report a wrong fact or a dead link on this listing