alpacachen/dsh-worktree1

@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 分析

Git工作流辅助插件,适合需要在DSH中快速创建隔离工作区和管理分支的开发者。

パッケージ
@alpacachen/dsh-simple-worktree
バージョン
1.1.0
ライセンス
MIT
最終更新
2026/09/12

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:alpacachen/dsh-worktree

ドキュメント

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

  1. Open New Session in a Git Workspace.
  2. Choose Create worktree above the composer.
  3. Enter a task name. The repository's main branch is selected by default.
  4. 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.