[Bug] Worktree operations default to main branch instead of worktree branch
Open 💬 3 comments Opened Jun 9, 2026 by brossetti1
Bug Description
whenever i open a worktree, claude performs the work on the main branch i did claude -w off of, not the new worktree branch. I have to explicitly tell claude to work in the worktree.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.169
- Feedback ID: 913f33ce-ff26-4a30-9c8b-f61246150c1d
Errors
[]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗