Skip to content

Instantly share code, notes, and snippets.

Avatar

Endrit Bytyqi endrit-b

View GitHub Profile
@endrit-b
endrit-b / git_submodules.md
Created Jan 5, 2019 — forked from gitaarik/git_submodules.md
Git Submodules basic explanation
View git_submodules.md

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.