Skip to content

Instantly share code, notes, and snippets.

@ThaJay
ThaJay / git_submodules.md
Last active September 21, 2023 08:57 — forked from gitaarik/git_submodules.md
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:

  • You can separate the code into different repositories.