Skip to content

[FEATURE]: configurable path for worktrees #14032

@kvokka

Description

@kvokka

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Now git worktrees are created as ~/.local/share/opencode/worktree/8481/cosmic-rocket, but it makes them tricky to save with ephemeral environments, like codespaces or even plain Docker containers. As a workaround i'm creating the link for the folder to the path that is convenient to me for ~/.local/share/opencode/worktree;

But it would be great to have this path configurable either globally or, even better, with the relative path to the project.

Now I use this temporary workaround

ln -sfT ~/my/awesome/opencode_worktrees ~/.local/share/opencode/worktree

Can implement it, if u approve the idea.

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions