Files
30-seconds-of-code/snippets/pull-all-submodules.md
Isabelle Viktoria Maciohsek ed2f41b0d8 Bake dates into snippets
2021-06-13 19:47:48 +03:00

20 lines
482 B
Markdown

---
title: Pull all submodules from remote
tags: repository,submodule,advanced
firstSeen: 2021-04-08T20:05:15+03:00
lastUpdated: 2021-04-13T21:10:59+03:00
---
Pulls all submodules from their respective remotes.
- Use `git submodule update --recursive --remote` to pull all submodules from their respective remotes.
```shell
git submodule update --recursive --remote
```
```shell
git submodule update --recursive --remote
# Pulls all submodules from their respective remotes
```