Every worktree gets its own database 0 ▲ Will Hackett (English (UK)) 166 days ago · Tech · hide · Fediverse post 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. Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town