foriequal0/git-trim
View on GitHub ↗ ★ 547 Rust
Automatically trims your branches whose tracking remote refs are merged or stray
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2020-08-12 · latest 2026-02-20
20082026
-
I use git-trim for that: https://github.com/foriequal0/git-trim Readme also explains why it's better than a bash-oneliner in some cases.
comment by nikeee · 2026-02-20 · in I found a useful Git one liner buried in leaked CIA developer docs -
If you meant this: https://github.com/foriequal0/git-trim Thank you! Didn't know about it and it solves the problem I'm having.
comment by Waterluvian · 2021-12-01 · in Lazygit: A simple terminal UI for Git commands -
Does this have any advantage over git trim? That's worked really well for me https://github.com/foriequal0/git-trim
comment by maximilianroos · 2020-08-12 · in Git: Deletion of merged branches taken beyond shell hacks