·git-worktrees
</>

git-worktrees

heyitsnoah/claudesidian

使用 git 工作树进行隔离并行开发。当单独启动功能工作时、需要单独的工作区而不需要切换分支时或在 PR 合并后清理工作树时使用。

5安装·0热度·@heyitsnoah

安装

$npx skills add https://github.com/heyitsnoah/claudesidian --skill git-worktrees

SKILL.md

Git worktrees create isolated workspaces sharing the same repository, allowing work on multiple branches simultaneously without switching. Each worktree is a separate directory with its own working tree, but they share the same .git history.

| List worktrees | git worktree list | | Create worktree | git worktree add -b | | Create from existing branch | git worktree add | | Remove worktree | git worktree remove | | Prune stale worktrees | git worktree prune |

NEVER remove a worktree with uncommitted changes without confirmation.

使用 git 工作树进行隔离并行开发。当单独启动功能工作时、需要单独的工作区而不需要切换分支时或在 PR 合并后清理工作树时使用。 来源:heyitsnoah/claudesidian。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/heyitsnoah/claudesidian --skill git-worktrees
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 git-worktrees?

使用 git 工作树进行隔离并行开发。当单独启动功能工作时、需要单独的工作区而不需要切换分支时或在 PR 合并后清理工作树时使用。 来源:heyitsnoah/claudesidian。

如何安装 git-worktrees?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/heyitsnoah/claudesidian --skill git-worktrees 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/heyitsnoah/claudesidian

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01