Nest all content into snippets
This commit is contained in:
22
snippets/git/s/clone-missing-submodules.md
Normal file
22
snippets/git/s/clone-missing-submodules.md
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
title: Clone missing submodules
|
||||
type: snippet
|
||||
language: git
|
||||
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