·git-worktree
</>

git-worktree

管理 git 工作树以进行并行开发。当用户想要同时处理多个分支、为功能/修复创建隔离环境或清理已完成的工作树时使用。

23安装·1热度·@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-10

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