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
I have a git project that has cloned twice to different folders on the local disk. OpenCode can only open one and open the second one, but when opening the second, it still uses the first operation record #36217
Because the same project in these two folders is a different branch and the code content is quite different, I need to open this project. Can the opencode mechanism be changed? Can't it be differentiated by project path?
I've put them in different folders, so why is it still the same project? The code differences are quite significant
Although the git address is the same, different branches differ greatly. Can the logic of not being able to open two copies of the same git project at the same time be changed?
Plugins
No response
OpenCode version
v1.17.16
Steps to reproduce
The same Git project can be clone multiple copies in different local folders, but with different branches, you cannot open either project in OpenCode; only one can be opened
These issues describe the same root cause: OpenCode derives the project ID from the git remote URL rather than the local directory path, so multiple clones of the same repository are treated as a single project. Please review those issues and add a reaction or comment there if they match your situation.
Activity
github-actions commentedon Jul 10, 2026
This issue might be a duplicate of existing issues. Please check:
These issues describe the same root cause: OpenCode derives the project ID from the git remote URL rather than the local directory path, so multiple clones of the same repository are treated as a single project. Please review those issues and add a reaction or comment there if they match your situation.
github-actions commentedon Sep 9, 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.