Command-line tool
git-trim
brew/git-trim
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Trim your git remote tracking branches that are merged or gone
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
cargo install git-trim
macOS
brew install git-trim cargo install git-trim
Linux
brew install git-trim cargo install git-trim
Related command-line tools
- git-gone
Manage "gone" Git branches - git-delete-merged-branches
Command-line tool to delete merged Git branches - legit
Command-line interface for Git, optimized for workflow simplicity - git-sync
Clones a git repository and keeps it synchronized with the upstream - braid
Simple tool to help track vendor branches in a Git repository - git-bug
Distributed, offline-first bug tracker embedded in git, with bridges - git-imerge
Incremental merge for git - git-gui
Tcl/Tk UI for the git revision control system
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents