AI engineering glossary · Command line Git
What is submodule?
Submodule: A way to embed another Git repository inside a project at a fixed commit, keeping its history separate. It is used to include shared code but needs extra commands to update, and clones need the --recursive option.
Submodule: an example
git submodule add <url> libs/tokenizer places another repository under libs/tokenizer.
Related terms
More Command line Git terms
Where you learn it
Submodule is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.