Files
30-seconds-of-code/git/snippets/pull-all-submodules.md
2023-05-01 22:28:09 +03:00

22 lines
504 B
Markdown

---
title: Pull all submodules from remote
type: snippet
tags: [repository,submodule]
author: chalarangelo
cover: workspace-with-speaker
dateModified: 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
```