Prepare repository for merge
This commit is contained in:
21
git/snippets/clone-missing-submodules.md
Normal file
21
git/snippets/clone-missing-submodules.md
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
title: Clone missing submodules
|
||||
type: snippet
|
||||
tags: [repository,submodule]
|
||||
author: chalarangelo
|
||||
cover: forest-balcony
|
||||
dateModified: 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
|
||||
```
|
||||
Reference in New Issue
Block a user