Skip to content

Instantly share code, notes, and snippets.

View mtfrsantos's full-sized avatar

Matheus Freitas Santos mtfrsantos

View GitHub Profile
@mtfrsantos
mtfrsantos / git_submodules.md
Created June 20, 2024 17:59 — 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 usecases of submodules:

  • Separate big codebases into multiple repositories.