git:worktrees とは?
複数のブランチで同時に作業する場合、スタッシングを行わずにコンテキストを切り替える場合、開発中に PR をレビューする場合、分離してテストする場合、またはブランチ間で実装を比較する場合に使用します。複数の作業ディレクトリでの並行開発のための git worktree コマンドとワークフロー パターンを提供します。 ソース: neolabhq/context-engineering-kit。
複数のブランチで同時に作業する場合、スタッシングを行わずにコンテキストを切り替える場合、開発中に PR をレビューする場合、分離してテストする場合、またはブランチ間で実装を比較する場合に使用します。複数の作業ディレクトリでの並行開発のための git worktree コマンドとワークフロー パターンを提供します。
コマンドラインで git:worktrees AI スキルを開発環境にすばやくインストール
ソース: neolabhq/context-engineering-kit。
Git worktrees enable checking out multiple branches simultaneously in separate directories, all sharing the same repository. Create a worktree instead of stashing changes or cloning separately.
Core principle: One worktree per active branch. Switch contexts by changing directories, not branches.
| Main worktree | Original working directory from git clone or git init | | Linked worktree | Additional directories created with git worktree add | | Shared .git | All worktrees share same Git object database (no duplication) | | Branch lock | Each branch can only be checked out in ONE worktree at a time |
複数のブランチで同時に作業する場合、スタッシングを行わずにコンテキストを切り替える場合、開発中に PR をレビューする場合、分離してテストする場合、またはブランチ間で実装を比較する場合に使用します。複数の作業ディレクトリでの並行開発のための git worktree コマンドとワークフロー パターンを提供します。 ソース: neolabhq/context-engineering-kit。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/neolabhq/context-engineering-kit --skill git:worktrees複数のブランチで同時に作業する場合、スタッシングを行わずにコンテキストを切り替える場合、開発中に PR をレビューする場合、分離してテストする場合、またはブランチ間で実装を比較する場合に使用します。複数の作業ディレクトリでの並行開発のための git worktree コマンドとワークフロー パターンを提供します。 ソース: neolabhq/context-engineering-kit。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/neolabhq/context-engineering-kit --skill git:worktrees インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/neolabhq/context-engineering-kit