22 lines
511 B
Markdown
22 lines
511 B
Markdown
---
|
|
title: Clone missing submodules
|
|
tags: repository,submodule
|
|
author: chalarangelo
|
|
cover: blog_images/forest-balcony.jpg
|
|
firstSeen: 2021-04-08T20:05:15+03:00
|
|
lastUpdated: 2021-04-13T21:10:59+03:00
|
|
---
|
|
|
|
Clones missing submodules and checks out commits.
|
|
|
|
- Use `git submodule update --init --recursive` to clone missing submodules and checkout commits.
|
|
|
|
```shell
|
|
git submodule update --init --recursive
|
|
```
|
|
|
|
```shell
|
|
git submodule update --init --recursive
|
|
# Clones missing submodules and checks out commits
|
|
```
|