·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