← Browse by Chapter
Get the Book →
#80Chapter 15 — Worktrees and Parallel Sessions
Make this repository ready for parallel work in git worktrees. Find every gitignored file or directory the project needs in order to build and run its tests, such as environment files, local configuration and generated clients, and tell me how each one is produced. Propose a `.worktreeinclude` for the small files that should be copied, and a `worktree` settings block for the large directories to symlink or leave out, naming any ticket type that must not share a symlinked directory and any directory that holds links to the project's own code. Check that `.claude/worktrees/` is in `.gitignore`. Show me the files before you write them.

Mastering Claude Code
These prompts are excerpts from the book. Get the full collection with explanations and use cases.