How to convert a Git repo to a submodule, which is nested in another (parent) Git repo?
Change to the main directory, checkout the master branch, and do the following Git command to create a new submodule for plugin1: git submodule add (url_to_plugin1_repository) subdirectory1/plugin1sm Here the “url_to_plugin1_repository” points to your current Git repository for plugin1. A new directory will be created call subdirectory1/plugin1sm, which will track your remote repository. I have given … Read more