Git clone and update submodule later
clone the repository
|
|
You have to do two things to update submodule
|
|
Git cloning including submodules
In git 2.13 version and later, –recurse-submodules can be used instead of –recursive:
|
|
heres, -j8
is an optional performance optimization that became available in version 2.8, and fetches up to 8 submodules at a time in parallel. for more details man git-clone
With version 1.9 of Git up until version 2.12 (-j flag only available in version 2.8+):
|
|
With version 1.6.5 of Git and later, you can use:
|
|