mirror of
https://github.com/git-tips/tips.git
synced 2024-09-21 00:01:03 +02:00
added alternative update submodules
This commit is contained in:
parent
5c77f3d539
commit
9d905ac6d1
|
@ -440,6 +440,12 @@ git clean -df
|
||||||
git submodule foreach git pull
|
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
|
## Show all commits in the current branch yet to be merged to master
|
||||||
```sh
|
```sh
|
||||||
git cherry -v master
|
git cherry -v master
|
||||||
|
|
|
@ -161,7 +161,8 @@
|
||||||
"alternatives": ["git clean -df"]
|
"alternatives": ["git clean -df"]
|
||||||
}, {
|
}, {
|
||||||
"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"]
|
||||||
}, {
|
}, {
|
||||||
"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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user