Update Managing Submodules authored by tjfriedl's avatar tjfriedl
......@@ -24,9 +24,15 @@ This page contains useful tips for when you are managing submodules.
```git add submodule/path git commit -m "remove submodule"```
***Adding a submodule into the repository***
1. Figure out where your submodule will be housed inside the repository. Typically, these are found in the ```vendors/``` folder.
2. Add your submodule by typing ```git submodule add <git_submodule_remote_url> <destination_folder>```
3. Commit your changes to the project: ```git commit -m "<Message>"```
4. Push your changes: ```git push```
--------------------
**References**
[atlassian.com](https://www.atlassian.com/git/articles/core-concept-workflows-and-tips)
[atlassian.com](https://www.atlassian.com/git/articles/core-concept-workflows-and-tips),
[git-scm.com](https://git-scm.com/book/en/v2/Git-Tools-Submodules)