← All projects
Project record1 mention
Originally shared on Hacker News

Lopper

Lopper is a Git worktree cleaner that searches for git repositories and worktrees across different directories on your machine, shows them all in one place in a TUI where you can inspect and remove them, and also provides a CLI for scripts and agents to manage worktrees.

Last shared
01 / The problem

What it addresses

Coding agents like Codex, Claude Code, and others create many git worktrees in different directories, making them hard to find; the author wanted a deterministic solution that doesn't depend on an agent finding them or waste extra tokens.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Lopper

    Lopper is a Git worktree cleaner that searches for git repositories and worktrees across different directories on your machine, shows them all in one place in a TUI where you can inspect and remove them, and also provides a CLI for scripts and agents to manage worktrees.

    Problem: Coding agents like Codex, Claude Code, and others create many git worktrees in different directories, making them hard to find; the author wanted a deterministic solution that doesn't depend on an agent finding them or waste extra tokens.

    Posted by @shinokami · Original source ↗

    Story title · @shinokami · · Source ↗

    Show HN: Lopper – A Git Worktree Cleaner

    Submitted URL · @shinokami · · Source ↗

    https://github.com/shinokamix/lopper

    Source text · @shinokami · · Source ↗

    it's a tool that searches for git repositories and worktrees across different directories on your machine and shows them all in one place in a TUI, where you can inspect them and remove the ones you no longer need. it also has a CLI for scripts and agents, so they can manage worktrees more reliably.

    Source text · @shinokami · · Source ↗

    different tools like Codex, Claude Code, T3 Code, Orca, Superset, and others all put their worktrees in different directories, which made them pretty hard to find.

    Source text · @shinokami · · Source ↗

    I wanted a deterministic solution that wouldn't depend on an agent getting things right or waste extra tokens.