Environment Files
worktree branch copies .env and .env.local into new worktrees to reduce setup friction.
Best Practices
- Keep secrets out of source control.
- Review copied env values when switching contexts.
- Use team conventions for required variables.
If your repository uses additional env files, document that in your team setup guide.
Last updated on