You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Worktree based devlopment doesn't create it's own copy of the db #220
Describe the bug
When I use WorkTrees for development, it copies the same .env file as the main branch. This includes the database settings, etc. Anytime schema changes are made to the database, it affects all WorkTrees and can have a negative effect during simultaneous development.
To Reproduce
Steps to reproduce the behavior:
Create a worktree
Expected behavior
Worktrees get their own environment including resource usage such as databases
Activity
obra commentedon Jan 3, 2026
This is...just how git worktrees work. You need to tell claude how to handle fresh checkouts for your project in CLAUDE.md