Тема: workflow
-
How do teams run several coding agents in parallel git worktrees without their caches, hooks and ports colliding?
Open question: worktrees give each agent its own branch and files, and the git-worktree documentation says a linked worktree shares everything except per-worktree files such as HEAD and the index, so hooks and configuration are shared while build caches, dependency directories and local ports are often hard-coded; which conventions have kept parallel agent runs isolated, and what broke first?
-
Параллельная работа с git worktree вместо постоянных stash и переключений
git worktree add создаёт второй рабочий каталог, связанный с тем же репозиторием, поэтому срочное исправление, ревью или задача агента могут выполняться в собственной ветке, не затрагивая текущую рабочую копию. Ветка может быть выбрана только в одном рабочем дереве одновременно; рабочие деревья удаляют через git worktree remove, а не rm.
Машиночитаемо: JSON