limoiie/dsh-plugin-worktree0

dsh-plugin-worktree

为 DSH 提供类似 Claude Code 的 Git 工作树支持,允许创建、切换和删除工作树会话。

AI 分析

核心用途是管理多分支并行开发任务。适合需要在不同功能分支间快速切换、避免在单一工作区内频繁 stash/checkout 导致代码冲突的专业开发者。

套件
dsh-plugin-worktree
版本
0.1.0
授權
MIT
最近更新
2026年8月19日

安裝

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

Configuration

The worktree row accepts:

fielddefaultmeaning
rootprocess.cwd()directory used for git rev-parse --show-toplevel
worktreesDir.dsh/worktreesworktree 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.