added alternative update submodules

This commit is contained in:
denisbalyko 2016-06-18 12:42:31 +03:00
parent 5c77f3d539
commit 9d905ac6d1
2 changed files with 8 additions and 1 deletions

View File

@ -440,6 +440,12 @@ git clean -df
git submodule foreach git pull
```
__Alternatives:__
```sh
git submodule update --init --recursive
```
## Show all commits in the current branch yet to be merged to master
```sh
git cherry -v master

View File

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