Skip to content
Latchkey

Submodule - CI/CD Glossary Definition

A submodule embeds one Git repository inside another at a fixed commit, tracked in a .gitmodules file. The parent records the exact submodule SHA, not its contents.

A submodule embeds one Git repository inside another at a fixed commit, tracked in a .gitmodules file. The parent records the exact submodule SHA, not its contents.

A submodule embeds one Git repository inside another at a fixed commit, tracked in a .gitmodules file. The parent records the exact submodule SHA, not its contents.

In CI

Submodules are not fetched by default. In GitHub Actions set submodules: true (or recursive) on actions/checkout, and ensure the runner has read access to each submodule remote.

Related guides

Run this faster and cheaper on Latchkey managed runners. Start free →