diff --git a/pages/common/git-clone.md b/pages/common/git-clone.md index 1a235fa1b..2d1f9e3d9 100644 --- a/pages/common/git-clone.md +++ b/pages/common/git-clone.md @@ -6,6 +6,10 @@ `git clone {{remote_repository_location}}` +- Clone an existing repository and its submodules: + +`git clone --recursive {{remote_repository_location}}` + - For cloning from the local machine: `git clone -l` @@ -16,4 +20,4 @@ - Clone an existing repository, and truncate to the specified number of revisions, save your time mostly: -`git clone --depth 10 {{remote_repository_location}}` +`git clone --depth {{10}} {{remote_repository_location}}`