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

whh1 pts0 comments

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.

worktree moment branch quot show wtdb

Related Articles