Parallel agents with git worktrees
Lesson 11 of 27 · Decompose and delegate · 2 min Get the course to watchYou have two independent tasks and one agent that takes minutes per run. Start a second agent in the same folder and they will edit the same files, fight over the working tree, and leave you with a mess. There is a standard git answer to this.
The rest of this lesson
- What a worktree is
- Making them
- Fresh checkout
- What it does not isolate
- Merging
The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with Engineering with Coding Agents.