Using Git Submodules to integrate code between projects

Udara Bibile
Level Up Coding
Published in
7 min readJun 18, 2020

--

In any ecosystem involving multiple projects or multiple developers, there might be common code segments where it may be duplicated. This duplicated code can lead to unmaintainable code bases in the long run where minor changes have to be replicated to many codebases to make it consistent.

Hence maintaining code bases with common segments to share across projects is a general practice and there are few ways to integrate code bases. This sharing code can be private and domain-specific when it's shared within the projects of the company…

--

--