Git worktrees only clone your code, so every worktree uses the same local database. One branch's migration breaks the rest, a schema change can break the APIs. wtdb is a small Go tool that gives each worktree its own cloned Postgres database, env file, and node_modules.
No comments yet. Log in to reply on the Fediverse. Comments will appear here.