返回目录
模型与 MCP 插件

dsh-worktree

lengrufeng2008/dsh-worktree

Read-only worktree listing for DSH plus CLI create/remove/prune for isolated git worktrees.

Stars
0
Forks
0
Issues
1
更新
22 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:lengrufeng2008/dsh-worktree

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

Worktree for DSH

List git worktrees read-only in DSH; create/remove/prune via CLI for isolated experiments.

Use

node bin/dsh-worktree.mjs list --root .
node bin/dsh-worktree.mjs create --root . --path ../exp --branch exp-1
node bin/dsh-worktree.mjs remove --root . --path ../exp
node bin/dsh-worktree.mjs prune --root .

In DSH:

Use worktree_list on this repository.

Safety

  • Read-only DSH tool; create/remove are CLI-only.
  • Refuses existing target path and unsafe branch names.
  • remove refuses dirty worktrees unless --force.
  • No branch deletion, no test execution.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。