Skip to content

Git worktree is unusable under the new layout and designs mode in OpenCode Desktop v1.17.1 (Windows 11) #31686

Closed as not planned

Description

@Resist4263

Description

Problem

Git worktree functions break completely when using the app's new layout and designs UI on Windows 11.

  1. There is no UI entry to create or manage Git worktrees.
  2. Manually created worktree folders are misidentified as duplicate projects of the main repository.
  3. Branch status and Git file state display abnormally when opening worktree directories.
  4. This issue only occurs with the new layout enabled; legacy layout is unaffected.

Expected Behavior

Support detecting, opening and managing Git worktrees natively inside the editor.

Actual Behavior

No built-in entry for worktree operations
Manually created worktree directories are misidentified as duplicate repos
Git status and branch info display incorrectly in worktree folders

Plugins

No response

OpenCode version

v1.17.1

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Jun 10, 2026

    @github-actions
    Contributor

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

    If your issue is distinct from these, please clarify the differences so it can be tracked separately.

  2. changed the title [-]Git worktree cannot be properly used in OpenCode Desktop v1.17.1 on Windows 11[/-] [+]Git worktree is unusable under the new layout and designs mode in OpenCode Desktop v1.17.1 (Windows 11)[/+] on Jun 10, 2026
  3. Resist4263 commented on Jun 13, 2026

    @Resist4263
    Author

    These issues don’t align with the ones I raised. Their requirements mainly involve branches and jumping from subdirectories to the main repository. By contrast, I’m requesting the addition of the worktree feature to the new Desktop version — this functionality existed in the old release but was removed in the new one.

  4. andsalves commented on Jul 15, 2026

    @andsalves

    I don't understand why they removed that feature in the new UI. I just can't use opencode without worktree management, it's so much less powerful, and I already have a bunch of existing worktrees I've been working with.
    I couldn't find the reason so far.

  5. github-actions commented on Sep 14, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions