aboutsummaryrefslogtreecommitdiff
path: root/git/submodules.md
blob: 83d792d6b8b4db718dd7680376e5cbcd874ca183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Submodules

## Init

```sh
git submodule update --init --recursive
```

## Update

```sh
git submodule update --recursive --remote
```

> Update the registered submodules to match what the superproject
> expects by cloning missing submodules, fetching missing commits in
> submodules and updating the working tree of the submodules.