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
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.
Filed #33332 which builds on this with three more dimensions: base ref (e.g. origin/main instead of HEAD), git fetch before creation, and explicit branch naming (vs. the current hardcoded opencode/<adj-noun>). Plus a worktree.create.before plugin hook so the customization is extensible.
Linking here as the originating ask on the location dimension — happy to scope the eventual PR however maintainers prefer (location-only first, full bundle, or plugin-hook-driven).
Activity
linussvahn commentedon Mar 16, 2026
Yes please! 🙏
@thdxr any updates on this feature?
StephanMeijer commentedon Jun 22, 2026
Filed #33332 which builds on this with three more dimensions: base ref (e.g.
origin/maininstead ofHEAD),git fetchbefore creation, and explicit branch naming (vs. the current hardcodedopencode/<adj-noun>). Plus aworktree.create.beforeplugin hook so the customization is extensible.Linking here as the originating ask on the location dimension — happy to scope the eventual PR however maintainers prefer (location-only first, full bundle, or plugin-hook-driven).
github-actions commentedon Aug 22, 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.