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
When opening a project via GUI in different directories, issues may arise. #39605
When I have a project, I might switch between Git branches, so I end up with two directories on my desktop containing the same project. Let's say the project is named "test"—directory A contains the "test" project under branch name1, and directory B contains the "test" project under branch name2. If I first add the "test" project from directory A to a session on my desktop, and then want to work on the files in directory B, I create a new session and add the project again, selecting the "test" location in directory B. However, I notice that the displayed branch remains name1.
Plugins
No response
OpenCode version
No response
Steps to reproduce
Try placing the same project in different directories; although the project name remains the same and the branch differs, if you create a new session for both projects in these two locations, you will find that only the location of one of the projects is added.
This issue might be a duplicate of existing issues. Please check:
Workspace path is not updated after moving/cloning the same Git repository #36150: Workspace path is not updated after moving/cloning the same Git repository — similar root cause where OpenCode uses project name rather than full path to identify a project, leading to stale location data when the same project exists at multiple paths.
Closing — no template used, insufficient information to investigate. Please reopen with the Bug Report or Feature Request template filled out (version, OS, repro steps, logs).
Activity
github-actions commentedon Jul 30, 2026
This issue might be a duplicate of existing issues. Please check:
kai-kleinbard-tyto commentedon Jul 30, 2026
Closing — no template used, insufficient information to investigate. Please reopen with the Bug Report or Feature Request template filled out (version, OS, repro steps, logs).
github-actions commentedon Sep 29, 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.