Update Git Submodule
Developmentupdate-git-submoduleUpdate Git Submodule is an Agent Skill for development published in the open-telemetry/opentelemetry.io repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Update one or more of the repository's git submodules to a target version (a specific tag or commit, the latest release, or HEAD), adjusting the pins in .gitmodules and re-syncing the submodule gitlinks. Follows the procedure in update-git-submodule.md.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/open-telemetry/opentelemetry.io/blob/HEAD/.claude/skills/update-git-submodule/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/update-git-submodule, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Update git submodules
Arguments
See the arguments specified in update-git-submodule.md, though briefly:
- One or more submodules to update.
- Target version: a specific tag or commit;
latest; orHEAD
Usage
Read and follow update-git-submodule.md. If either argument is missing, ask the user before applying.