Loading topic
.git directory. It explains what a linked worktree shares with the repository it came from and what it keeps for itself. Later chapters build on this, so it 5 min readgit worktree subcommands you will use to give each agent its own directory. It assumes you know everyday Git (commit, branch, merge, diff) and have read the previous chapter on how a linked worktree relates to its repository. The next chapter covers branch rules in more det6 min readgit worktree add, as covered in the previous chapter. Here you learn the rule that decides which branch each worktree may use, the errors it produces, a6 min readgit worktree add and that you have run a command-line coding agent on a single task. Worktrees stop agents from overwriting each other's files on disk. They do not stop two agents from changing the same lines in different branches. That problem ap6 min readgit worktree add,6 min read&, wait, redirection). You will learn how to start several agent6 min readgit worktree add, run a command-line coding agent, and use background processes in a shell. It covers what a new worktree does not contain, and what two agents running side by side can still fight over.6 min readgit worktree add and git worktree remove. It also assumes you know that each linked worktree has its own working directory, index, and HEAD. Here you will learn which state worktrees still share. That shared state is where parallel 6 min readagent/ branch. This chapter covers how to review those branches and bring them into main one at a time.6 min readagent/auth, agent/billing and agent/search, all started from main. You should also have reviewed an agent br6 min readgit worktree add, that you have merged agent branches into main, and that you are comfortable with git status and `git6 min read.env, start an agent, review, merge, remove. This chapter combines those steps into one script you can run the same way every time. It also covers the edge cases that a hand-run workflow tends to get wrong.6 min readgit worktree add, merge branches, and start a command-line agent in a background shell. It covers where worktrees stop protecting you and which isolation method to choose instead.7 min read