dsh-enterworktree
创建Git工作区并自动开启隔离会话的插件 适合需要在独立Git worktree分支中进行代码修改和测试的开发者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:scccy/dsh-enterworktree说明文档
阅读完整 README ↗配置
bundle patch(cordis.patch.yml)把插件挂载进 profile,配置项:
| 配置 | 默认 | 说明 |
|---|---|---|
layout | nested | nested=`.worktrees/ |
,sibling=../-- | ||
| `。 | ||
dotworktreesDir | .worktrees | worktree 目录名(嵌套布局下)。 |
autoOpenSession | true | 是否自动开隔离 session。 |