Files
30-seconds-of-code/snippets/pull-all-submodules.md
2021-04-08 20:05:15 +03:00

18 lines
400 B
Markdown

---
title: Pull all submodules from remote
tags: repository,submodule,advanced
---
Pulls all submodules from their respective remotes.
- Use `git submodule update --recursive --remote` to pull all submodules from their respective remotes.
```sh
git submodule update --recursive --remote
```
```sh
git submodule update --recursive --remote
# Pulls all submodules from their respective remotes
```