Show HN: Wtdb – give every Git worktree its own database

Show HN (score: 5)
Found: June 14, 2026
ID: 5197

Description

Show HN: Wtdb – give every Git worktree its own database I run a lot of agentic coding sessions in parallel, each in its own git worktree. Every worktree points at the same local Postgres though, so the moment one branch runs a migration it changes the schema out from under the others. I'd end up with agents tripping over each other, or me babysitting which branch "owned" the DB at any given moment.

I made this to fix it. I hope you might find it helpful too.

More from Show

No other tools from this source yet.