@alpacachen/dsh-simple-worktree
A Git worktree plugin for DeepSeek Harness that creates task branches, registers worktrees as DSH Workspaces, and opens isolated sessions.
AI Analysis
Git工作流辅助插件,适合需要在DSH中快速创建隔离工作区和管理分支的开发者。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:alpacachen/dsh-worktreeREADME
Read the full README ↗Usage
Install
dsh plugin --profile web add @alpacachen/dsh-simple-worktree
Restart dsh web after installation.
You can also install from GitHub with dsh plugin --profile web add github:alpacachen/dsh-worktree.
Create from a new session
- Open New Session in a Git Workspace.
- Choose Create worktree above the composer.
- Enter a task name. The repository's main branch is selected by default.
- Click Create and open.
Manage worktrees
Open Settings → Worktree Management to scan every Workspace for Git projects and linked worktrees, inspect their branch and dirty state, and remove worktrees that are no longer needed.
The worktree is created at:
project.worktrees/login-fix/
└── branch: task/login-fix
The new Workspace is named /. Removing the worktree Workspace does not delete its Git branch.