git:git-submodules
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
git:git-submodules [2023/05/02 16:46] – admin | git:git-submodules [2023/05/07 19:26] (current) – admin | ||
---|---|---|---|
Line 36: | Line 36: | ||
git submodule update --init | git submodule update --init | ||
</ | </ | ||
- | If we know when clone the main project git that there are submodules we can pull them at the start with **--recursive** keyword: | + | If we know when cloning |
<code bash> | <code bash> | ||
git clone <git URL> --recursive | git clone <git URL> --recursive | ||
</ | </ |
git/git-submodules.1683038802.txt.gz · Last modified: 2023/05/02 16:46 by admin