git-worktree
✓当您需要同时在多个分支上工作、运行并行 Claude Code 会话、在功能工作期间处理紧急修补程序、在不切换分支的情况下审查 PR 或在不丢失当前工作的情况下跨分支进行测试时使用
SKILL.md
Git worktrees enable multiple working directories from a single repository. Each worktree has its own branch while sharing the same Git object database.
Core principle: Check worktree status, create worktree for parallel work, reference cleanup commands as needed.
Safety check: Ensure worktrees are either outside the repo or in .gitignore to avoid tracking them.
当您需要同时在多个分支上工作、运行并行 Claude Code 会话、在功能工作期间处理紧急修补程序、在不切换分支的情况下审查 PR 或在不丢失当前工作的情况下跨分支进行测试时使用 来源:antjanus/skillbox。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/antjanus/skillbox --skill git-worktree- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-05
- 更新时间
- 2026-02-18
快速解答
什么是 git-worktree?
当您需要同时在多个分支上工作、运行并行 Claude Code 会话、在功能工作期间处理紧急修补程序、在不切换分支的情况下审查 PR 或在不丢失当前工作的情况下跨分支进行测试时使用 来源:antjanus/skillbox。
如何安装 git-worktree?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/antjanus/skillbox --skill git-worktree 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/antjanus/skillbox
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-05