Description 592 -> 248 chars, body 756 -> 515 words, Gotchas 8 -> 4. The audit found the dispatch table had no row for a worktree on an existing local branch, so that request fell to the adjacent -B row, which resets the branch to HEAD and discards its commits. Non-destructive create is now the first row and -B names its own destructiveness. Adds the missing lock/unlock row and repair's run-from constraint.
17 lines
981 B
Markdown
17 lines
981 B
Markdown
---
|
|
# Research sources referenced by this skill
|
|
# Each entry documents where the skill's guidance came from.
|
|
---
|
|
|
|
## git-scm-worktree-docs
|
|
|
|
**Description:** Git SCM official documentation for `git worktree` command — creating, listing, locking, moving, removing, pruning, and repairing linked worktrees; shared vs. per-worktree state; worktree-scoped config.
|
|
|
|
**Source:** https://git-scm.com/docs/git-worktree
|
|
|
|
- **Research doc:** plugins/git/docs/research/docs/git/worktrees.md (whole-document reference — covers `## Concept Overview`, `## Key Commands`, `## Workflow Patterns`, `## Common Gotchas`, `## Configuration`)
|
|
|
|
**Contributing files:**
|
|
- SKILL.md (Gotchas, Step 1 dispatch table and per-operation gates, Step 2 report format)
|
|
- references/worktrees.md (shared vs. per-worktree state, `add` command forms, full `add` flag table, orphan branches, sparse-checkout, removable media, remote disambiguation, `repair` invocation directory, configuration, workflow patterns)
|