Skip to content

Instantly share code, notes, and snippets.

View MitchellX's full-sized avatar
💭
peace

Mingcan Xiang MitchellX

💭
peace
View GitHub Profile
@gitaarik
gitaarik / git_submodules.md
Last active November 16, 2024 19:55
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.