# Update Git Submodule

> 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.

- Skill: `open-telemetry/update-git-submodule` (Agent Skill)
- Install (CLI): `npx skillmds@latest add open-telemetry/update-git-submodule`
- Raw SKILL.md: https://api.skillmd.com/api/skills/open-telemetry/update-git-submodule/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: open-telemetry (https://skillmd.com/u/open-telemetry)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/open-telemetry/update-git-submodule

---


# Update git submodules

## Arguments

See the arguments specified in [update-git-submodule.md][], though briefly:

1. One or more submodules to update.
2. Target version: a specific tag or commit; `latest`; or `HEAD`

## Usage

Read and follow [update-git-submodule.md][]. If either argument is missing, ask
the user before applying.

[update-git-submodule.md]:
  ../../../content/en/site/skills/update-git-submodule.md

