1
0
mirror of https://github.com/namibia/tips.git synced 2024-06-11 22:52:26 +00:00

Add alternative to update submodules

This commit is contained in:
Cédric Félizard 2016-06-18 09:43:34 +00:00
parent d318ded72e
commit b096219f31
2 changed files with 7 additions and 2 deletions

View File

@ -481,6 +481,11 @@ __Alternatives:__
git submodule update --init --recursive git submodule update --init --recursive
``` ```
```sh
git submodule update --remote
```
## Show all commits in the current branch yet to be merged to master ## Show all commits in the current branch yet to be merged to master
```sh ```sh
git cherry -v master git cherry -v master

View File

@ -173,7 +173,7 @@
}, { }, {
"title": "Update all the submodules", "title": "Update all the submodules",
"tip": "git submodule foreach git pull", "tip": "git submodule foreach git pull",
"alternatives": ["git submodule update --init --recursive"] "alternatives": ["git submodule update --init --recursive", "git submodule update --remote"]
}, { }, {
"title": "Show all commits in the current branch yet to be merged to master", "title": "Show all commits in the current branch yet to be merged to master",
"tip": "git cherry -v master", "tip": "git cherry -v master",