When opening a project whose root contains a .git folder, OpenCode fails to load #7631

Open
opened 2026-02-16 18:07:47 -05:00 by yindo · 1 comment
Owner

Originally created by @sishui on GitHub (Jan 26, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

. No obvious errors appear in the logs. Deleting .git allows OpenCode to load successfully.

Plugins

oh-my-opencode , opencode-antigravity-auth

OpenCode version

1.1.36

Operating System

windows

Originally created by @sishui on GitHub (Jan 26, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description . No obvious errors appear in the logs. Deleting .git allows OpenCode to load successfully. ### Plugins oh-my-opencode , opencode-antigravity-auth ### OpenCode version 1.1.36 ### Operating System windows
yindo added the bug label 2026-02-16 18:07:47 -05:00
Author
Owner

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

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

  • #9901: OpenCode not launching in a random folder with .git folder (similar .git folder load failure)
  • #6363: Opencode hangs when opened in a directory with .git (related .git folder hanging issue)

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

@github-actions[bot] commented on GitHub (Jan 26, 2026): This issue might be a duplicate of existing issues. Please check: - #9901: OpenCode not launching in a random folder with .git folder (similar .git folder load failure) - #6363: Opencode hangs when opened in a directory with .git (related .git folder hanging issue) Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7631