Claude Code で並行で複数の作業をすることが日常になってきており、 git worktree
が欠かせない最近です。
git worktree は便利なのですが、毎日何度も worktree
を作ったり消したりしているうちに以下が気になってきました。
worktree add のコマンドがやや冗長で面倒
ブランチ名を基に worktree を作る場合、ブランチ名を2度打つことになる
既存ブランチの場合: git worktree add .worktrees/hoge hoge
新規ブランチの場合: git worktree add -b hoge .worktrees/…
Source link
Views: 0