diff --git a/pages/common/git-submodule.md b/pages/common/git-submodule.md index 0f7dbe150..181feaf74 100644 --- a/pages/common/git-submodule.md +++ b/pages/common/git-submodule.md @@ -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}} {{path/to/directory}}` + - Update every submodule to its latest commit: `git submodule foreach git pull`