# Git Worktrees - Resources

## Knowledge

- [Official Git manual: git-worktree](https://git-scm.com/docs/git-worktree)
  Primary source for the model, add/list/remove/move/prune/repair/lock commands, shared versus per-worktree state, and worktree-specific configuration.
- [Official Git manual: git-merge](https://git-scm.com/docs/git-merge)
  Use for safely integrating a completed task branch into its target branch.
- [Official Git manual: git-cherry-pick](https://git-scm.com/docs/git-cherry-pick)
  Use for moving one selected commit, rather than a whole branch, into the current branch.
- [Official Git manual: git-rebase](https://git-scm.com/docs/git-rebase)
  Use for understanding history rewriting and resolving interrupted rebase operations before choosing it in a shared repository.
- [Pro Git book: Git Branching](https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell)
  Read for the branch model underneath worktrees.

## Wisdom

- [Git mailing list](https://lore.kernel.org/git/)
  Use when behavior is surprising enough that the manual and reproduction do not settle it; include Git version, commands, and a minimal reproduction.

## Gaps

- Confirm repository-specific branch naming, merge, test, and cleanup conventions before adopting the capstone workflow in a team repository.
- Treat submodules, sparse checkout, large files, and platform-specific tool caches as cases needing local validation.
