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 October 25, 2024 09:39
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.