dsh-simple-worktree
已验证@alpacachen/dsh-simple-worktree · v1.0.2 · MIT · Web 界面
A minimal worktree manager with one button and one dialog for DeepSeek Harness.
安装
dsh plugin add @alpacachen/dsh-simple-worktree 用 dsh --profile default --dump-config 确认 layer 已生效 —— 参见安装指南。
源码
标签
说明文档
dsh-simple-worktree
一个轻量的 Git Worktree 插件,用于 DeepSeek Harness。
简体中文 · English
功能
- 从任意 Git Workspace 创建 Worktree。
- 支持当前分支和仓库主分支。
- 将新 Worktree 注册并打开为 DSH Workspace。
- 自动创建
task/<name>格式的任务分支。 - 不需要额外服务或项目配置。
- 支持 DSH 主题、中文和英文界面。
使用
安装
dsh plugin --profile web add @alpacachen/dsh-simple-worktree
安装后重启 dsh web。
也可以通过 GitHub 安装:dsh plugin --profile web add github:alpacachen/dsh-worktree。
创建 Worktree
- 打开一个 Git Workspace。
- 打开 Workspace 菜单,选择 创建 Worktree。
- 输入任务名称,例如
login-fix。 - 选择 当前分支 或 主分支。
- 点击 创建并打开。
Worktree 会创建在:
project.worktrees/login-fix/
└── branch: task/login-fix
新 Workspace 的名称为 <父 Workspace>/<任务名称>。