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