Software Engineering KB

Home

❯

06 Development Process

❯

00 Version Control

❯

01 Concept

❯

Submodules and Subtrees

Submodules and Subtrees

Feb 10, 20261 min read

  • git
  • advanced
  • submodules

Submodules and Subtrees

← Back to Advanced Git

Nested repositories for managing external dependencies. Submodules track a specific commit of another repo; subtrees copy the content into the parent repo. Both have usability challenges; many teams prefer package managers instead.

Key Properties

  • Submodule Pinning
  • Subtree Merging
  • Dependency Management

Related

  • Polyrepo (submodules link polyrepos)

git advanced submodules


Graph View

  • Submodules and Subtrees
  • Key Properties
  • Related

Backlinks

  • Advanced Git

Created with Quartz v4.5.2 © 2026

  • GitHub