git-workflow calls itself a router but named two of the six domains it routes to; the other four appeared nowhere in the file. All six are now named, with a routing table in the always-loaded body. git-submodules lost the foreach shell-variable semantics -- only the bare names survived, though $sm_path and $displaypath differ solely by which directory you are in. The table is back. Its relocated commands had also dropped the rtk git prefix its own SKILL.md mandates; 24 of them are re-prefixed. The wider rtk inconsistency across the plugin stays with #113. Also restores git-commits' body and footers output fields, git-branches' tag/ branch detection commands, git-worktrees' git config --worktree, pc-run's ambiguity fallback, git-remotes' git-history boundary, and git-history's pickaxe triggers. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EJJrm5YmacbwMdzZpXcoti
32 lines
1.1 KiB
Markdown
32 lines
1.1 KiB
Markdown
---
|
|
source_keys:
|
|
- git-scm-submodule-docs
|
|
---
|
|
|
|
# References
|
|
|
|
One file per task branch in SKILL.md's dispatch table. Load only the one that matches the request.
|
|
|
|
## setup-and-update.md
|
|
|
|
Cloning a superproject that has submodules, adding a dependency as a submodule, initializing
|
|
without cloning, updating or re-pinning, and running one command across every submodule. Carries
|
|
the `add` and `update` flag tables, the keep-pinned and move-the-pin-forward workflows, and the
|
|
`foreach` shell-variable table (`$name`, `$sm_path`, `$displaypath`, `$sha1`, `$toplevel`).
|
|
|
|
## urls-and-config.md
|
|
|
|
Where a submodule points and how it is configured: the `.gitmodules` vs `.git/config` split, both
|
|
key tables, `sync` / `set-url` / `set-branch`, local mirror overrides, relative URL resolution, the
|
|
security gate on custom `update` commands, and `absorbgitdirs`.
|
|
|
|
## removal.md
|
|
|
|
Removing a submodule, and why `deinit` alone does not remove one. Carries the full four-step
|
|
removal sequence including the manual `.git/modules/<name>/` cleanup.
|
|
|
|
## sources.md
|
|
|
|
Research sources that informed this skill — provenance chain for git-scm-submodule-docs reference
|
|
material.
|