![]() It is a good idea to first create a separate subdirectory in your repository and then add all the submodules to that subdirectory. We need to pass the remote repository URL where the project that we want to embed is hosted. To add a submodule we use the Git Submodule Add command. ![]() Now that we know what Submodules are and what they are used for, let's look at how to create and use submodules in Git. Submodules also help us to use external libraries that we want to modify and use for our main project. We can make changes to the submodule without affecting the main project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |