worktrees
✓複数のブランチで同時に作業する場合、スタッシングを行わずにコンテキストを切り替える場合、開発中に PR をレビューする場合、分離してテストする場合、またはブランチ間で実装を比較する場合に使用します。複数の作業ディレクトリでの並行開発のための git worktree コマンドとワークフロー パターンを提供します。
SKILL.md
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 worktrees- カテゴリ
- >_生産性
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
worktrees とは?
複数のブランチで同時に作業する場合、スタッシングを行わずにコンテキストを切り替える場合、開発中に PR をレビューする場合、分離してテストする場合、またはブランチ間で実装を比較する場合に使用します。複数の作業ディレクトリでの並行開発のための git worktree コマンドとワークフロー パターンを提供します。 ソース: neolabhq/context-engineering-kit。
worktrees のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/neolabhq/context-engineering-kit --skill worktrees インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/neolabhq/context-engineering-kit
詳細
- カテゴリ
- >_生産性
- ソース
- skills.sh
- 初回登録
- 2026-02-01