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
[FEATURE]: Add workspace as a separate branch within the same project #35525
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
I’d like to request a workspace mode improvement.
Currently, when adding a workspace in OpenCode Desktop, it appears to open in a sandbox. I’d like an option to create a new workspace from the same project/repository, but on a different Git branch.
This would allow parallel work on multiple branches, similar to Git worktrees, while keeping the same project context and configuration.
Activity
github-actions commentedon Jul 6, 2026
This issue might be a duplicate of existing issues. Please check:
--worktree/-wCLI flag for git worktree isolation (open)Please review these before continuing, and reopen or comment on one of the existing issues if your request is the same.
haxllo commentedon Jul 9, 2026
I have a working implementation for this issue. See worktree-cli-tui on haxllo/opencode. Opening PR shortly.
github-actions commentedon Sep 8, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.