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.
14 lines
555 B
Markdown
14 lines
555 B
Markdown
---
|
|
source_keys:
|
|
- git-scm-worktree-docs
|
|
---
|
|
|
|
# References
|
|
|
|
This directory contains provenance metadata and research sources for the `git-worktrees` skill.
|
|
|
|
## Files
|
|
|
|
- `sources.md` — Extracted research sources and their contributing documents
|
|
- `worktrees.md` — Shared vs. per-worktree state, the `add` command forms, the full `add` flag table, orphan branches, sparse-checkout setup, removable-media locking, remote-branch disambiguation, where to run `repair` from, the config key reference, and the emergency-fix and PR-review workflow patterns
|