Update Submodules authored by Arne Keller's avatar Arne Keller
......@@ -34,6 +34,7 @@ Updating the submodule(s) to latest commit
git pull <remote branch name>
```
* Or, you can browse to the main repository and simultaneously pull all submodules:
```bash
git pull --recurse-submodules
git submodule update --remote
......@@ -49,6 +50,7 @@ A submodule is always tied to one particular commit of the repository it refers
git checkout <commit hash>
```
* browse back to the main folder and push the changes in the submodule:
```bash
git add .
git commit -m 'commit message, e.g. update submodule (name_of_submodule)'
git push <remote branch name (origin master in most cases)>
......
......