Worktree dialog: selecting branch before checking "create worktree" reverts branch to default
Status Closed — not planned
Maintainer reply None cached
Workaround ✓ Mentioned in description ↑
Activity 2 comments · opened Apr 30, 2026 · closed May 31, 2026
In the worktree creation dialog, if you select a non-default branch first and then check the "create worktree" checkbox afterwards, the branch selection silently reverts to the repository's default branch.
Steps to reproduce:
- Open the worktree/branch selection dialog
- Select a non-default branch
- Check the "create worktree" checkbox
Expected: Selected branch is preserved.
Actual: Branch selection resets to the default branch.
Workaround: Check the worktree checkbox first, then select the branch.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗