limoiie/dsh-plugin-worktree ↗★ 0
dsh-plugin-worktree
Claude Code-style git worktree support for dsh web: create, switch, and delete worktree sessions.
AI Analysis
核心用途是管理多分支并行开发任务。适合需要在不同功能分支间快速切换、避免在单一工作区内频繁 stash/checkout 导致代码冲突的专业开发者。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:limoiie/dsh-plugin-worktreeREADME
Read the full README ↗Configuration
The worktree row accepts:
| field | default | meaning |
|---|---|---|
root | process.cwd() | directory used for git rev-parse --show-toplevel |
worktreesDir | .dsh/worktrees | worktree root; absolute, or relative to the repository top |
Name rules: at most 64 characters, one or more /-separated segments made of
letters, digits, dots, underscores, and dashes (feat/okta-sso works; . and
.. segments are rejected).
Users can override these values in their profile or home cordis.patch.yml by
targeting id: worktree without editing the plugin.