·git-worktree
</>

git-worktree

管理 git 工作樹以進行平行開發。當使用者想要同時處理多個分支、為功能/修復建立隔離環境或清理已完成的工作樹時使用。

23安裝·0熱度·@majesticlabs-dev

安裝

$npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill git-worktree

如何安裝 git-worktree

透過命令列快速安裝 git-worktree AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill git-worktree
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:majesticlabs-dev/majestic-marketplace。

SKILL.md

查看原文

This skill provides a unified interface for managing git worktrees, enabling isolated parallel development. Worktrees allow you to have multiple branches checked out simultaneously in separate directories.

Always use the worktree-manager.sh script rather than raw git worktree commands. The script handles:

Creates a new worktree in .worktrees/ . If the branch exists, it checks it out. If not, creates a new branch from the source (defaults to main/master).

管理 git 工作樹以進行平行開發。當使用者想要同時處理多個分支、為功能/修復建立隔離環境或清理已完成的工作樹時使用。 來源:majesticlabs-dev/majestic-marketplace。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill git-worktree
分類
</>開發工具
認證
收錄時間
2026-02-23
更新時間
2026-03-11

Browse more skills from majesticlabs-dev/majestic-marketplace

快速解答

什麼是 git-worktree?

管理 git 工作樹以進行平行開發。當使用者想要同時處理多個分支、為功能/修復建立隔離環境或清理已完成的工作樹時使用。 來源:majesticlabs-dev/majestic-marketplace。

如何安裝 git-worktree?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill git-worktree 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/majesticlabs-dev/majestic-marketplace