1
0
mirror of https://github.com/namibia/tips.git synced 2024-11-05 21:07:53 +00:00
This commit is contained in:
S N Munendra 2016-06-19 20:34:11 +05:30
commit 4cf5bbdaa7
2 changed files with 9 additions and 1 deletions

View File

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

View File

@ -173,7 +173,7 @@
}, {
"title": "Update all the submodules",
"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",
"tip": "git cherry -v master",
@ -361,7 +361,10 @@
}, {
"title": "Clone a shallow copy of a repository",
"tip": "git clone https://github.com/user/repo.git --depth 1"
<<<<<<< HEAD
}, {
"title": "Search Commit log across all branches for given text",
"tip": "git log --all --grep='<given-text>'"
=======
>>>>>>> 93e25eb7185e0e98398a170126f9395f26096798
}]