TOOL » GIT

Clone

Usage

shell
git clone OPTIONS REPO_URL DIR
OptionDescription
--recurse-submodulesInitialize and clone submodules.
--remote-submodulesUpdate submodules to the latest commit.

Example

Clone code with submodules:

shell
git clone --recurse-submodules