[FEATURE]: In desktop, with workspaces enabled, allow "New Workspace" to be initialized using an existing branch, or branched off an existing branch #7160

Open
opened 2026-02-16 18:06:20 -05:00 by yindo · 2 comments
Owner

Originally created by @virgildotcodes on GitHub (Jan 22, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Currently, it generates a new workspace automatically branched off main. We work off staging, would be nice to be able to tell it to create new branches off that (or any arbitrary branch).

That said, it would also be great to be able to pull down existing remote branches, or local branches, and create a worktree for them directly (not a new one, actually using that branch).

Originally created by @virgildotcodes on GitHub (Jan 22, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Currently, it generates a new workspace automatically branched off `main`. We work off `staging`, would be nice to be able to tell it to create new branches off that (or any arbitrary branch). That said, it would also be great to be able to pull down existing remote branches, or local branches, and create a worktree for them directly (not a new one, actually using that branch).
yindo added the discussionweb labels 2026-02-16 18:06:20 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 22, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6679: Multiple model usage with git worktrees - discusses using worktrees for parallel work on different branches
  • #5638: Desktop app opening multiple git worktrees from the same repo - discusses worktree management in the desktop app
  • #9366: Allow sessions to have custom working directories - proposes allowing sessions to work on different branches via custom directories and git worktrees
  • #7826: /branch command to create new session with compacted context - related feature for branching conversations

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 22, 2026): This issue might be a duplicate of existing issues. Please check: - #6679: Multiple model usage with git worktrees - discusses using worktrees for parallel work on different branches - #5638: Desktop app opening multiple git worktrees from the same repo - discusses worktree management in the desktop app - #9366: Allow sessions to have custom working directories - proposes allowing sessions to work on different branches via custom directories and git worktrees - #7826: /branch command to create new session with compacted context - related feature for branching conversations Feel free to ignore if none of these address your specific case.
Author
Owner

@vpcano commented on GitHub (Feb 14, 2026):

I believe #13593 solves this

@vpcano commented on GitHub (Feb 14, 2026): I believe #13593 solves this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7160