git-submodule: add git submodule add with path example

This commit is contained in:
Forrest Desjardins
2017-12-28 22:26:52 -09:00
parent ec3bf34b5e
commit a668fe1db3
+4
View File
@@ -10,6 +10,10 @@
`git submodule add {{repository_url}}`
- Add a git repository as a submodule at the specified directory:
`git submodule add {{repository_url}} {{directory}}`
- Update every submodule to its latest commit:
`git submodule foreach git pull`