[Bug] Worktree operations default to main branch instead of worktree branch

Status Closed — not planned
Reported on v2.1.169
Maintainer reply None cached
Activity 4 comments · opened Jun 9, 2026 · closed Aug 1, 2026

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

[]

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗