Skip to content

Commit a0f2f10

Browse files
committed
update all submodules.
1 parent 395abfd commit a0f2f10

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
* [Before deleting untracked files/directory, do a dry run to get the list of these files/directories](https://github.com/git-tips/tips#before-deleting-untracked-filesdirectory-do-a-dry-run-to-get-the-list-of-these-filesdirectories)
4848
* [Forcefully remove untracked files](https://github.com/git-tips/tips#forcefully-remove-untracked-files)
4949
* [Forcefully remove untracked directory](https://github.com/git-tips/tips#forcefully-remove-untracked-directory)
50+
* [Update all the submoudles](https://github.com/git-tips/tips#update-all-the-submoudles)
5051

5152
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
5253
<!-- @doxie.inject end toc -->
@@ -323,5 +324,10 @@ __Alternatives:__
323324
git clean -df
324325
```
325326

327+
## Update all the submoudles
328+
```sh
329+
git submodule foreach git pull
330+
```
331+
326332
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
327333
<!-- @doxie.inject end -->

tips.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,5 +182,9 @@
182182
"title": "Forcefully remove untracked directory",
183183
"tip": "git clean -f -d",
184184
"alternatives": ["git clean -df"]
185+
},
186+
{
187+
"title": "Update all the submoudles",
188+
"tip": "git submodule foreach git pull"
185189
}
186190
]

0 commit comments

Comments
 (0)