#git submodules
▻https://hackernoon.com/git-submodules-91a52e6e8779?source=rss----3a8144eabfe3---4
.gitmodulesWhat are submodules in git?Git allows you to include other Git repositories inside a repository called submodules. Git allows you to commit, pull and push to these repositories independently.How does it work?SubmodulesLike we have two modules A and B both have different .git files but now the requirement is to add both inside one repository but it’s not possible simply if we create one repository and push module A there then we can’t push module B on the same remote URL.But we have Submodules concept in #github it means we can add both repositories with different .git files inside the parent repository.ADD multiple repositories inside a parent repositorygit submodule add <git-remote-repo-url>You can only add information about the submodule that is added to the main (...)