anomalyco / anomalyco/opencode
[Desktop] Unable to add folder from another worktree of the same repository
Open
@Hona is already working on this.
Since Aug 8, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
I have a project in folder A. I added a new worktree to folder B using the git worktree command. When I select folder B in the OpenCode desktop app to add it as a project, nothing happens.
Plugins
No response
OpenCode version
v1.18.15
Steps to reproduce
- Have an existing project in folder A that is already initialized as a Git repository.
- Open a terminal and run the following command to create a new worktree in folder B:
git worktree add ../B <branch-name> - Launch the OpenCode desktop client.
- Click "Add Project" and select folder B as the project folder.
- Observe the application's response.
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
powershell
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.