!
この記事は30%くらい、Claude Codeが書きました。
git-worktreeとは?
git-worktreeは、同じGitリポジトリから複数の作業ディレクトリを作成できる機能です。
通常のGitでは、一つのリポジトリに対して一つの作業ディレクトリしか持てませんが、git-worktreeを使うことで、異なるブランチを異なるディレクトリで同時に作業できるようになります。
Git – git-worktree Documentation
使用例
$ git worktree add ../feature-branch feature-branch
$ git work…
Source link
Views: 0