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
Desktop app redirects to wrong project when multiple directories share the same git remote #35714
Describe the bug\n\nWhen multiple local directories share the same git remote URL, the OpenCode Desktop App incorrectly treats them as the same project. Opening one directory may redirect or navigate to a different directory that shares the same git remote, even though they are separate workspace directories on disk.\n\nExpected behavior\nEach local directory should be treated as an independent project, regardless of shared git remote.\n\nActual behavior\nThe app conflates directories with the same git remote and redirects to the wrong one.
Plugins
None
OpenCode version
Latest
Steps to reproduce
No response
Screenshot and/or share link
N/A
Operating System
Windows
Terminal
OpenCode Desktop App
Reacted by Roman Kushyn, Pau Sanchez and Oskar Johansson
Activity
github-actions commentedon Jul 7, 2026
This issue might be a duplicate of existing issues. Please check:
If this is indeed a duplicate, please add a thumbs-up reaction or comment on the existing issue instead so maintainers can track interest there.
Hona commentedon Sep 2, 2026
Fixed for opencode2 launch via #46713
You can try the desktop beta here: https://github.com/anomalyco/opencode-beta