From 2ed9d366b4c82bcf5726c68913209fa0f9fb1fc7 Mon Sep 17 00:00:00 2001 From: Forrest Desjardins Date: Wed, 27 Dec 2017 23:10:06 -0900 Subject: [PATCH 1/2] git-clone: add `git clone --recursive` entry --- pages/common/git-clone.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/git-clone.md b/pages/common/git-clone.md index 1a235fa1b6..b346ad144c 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` From 608b34a1cb0c63edbec05162e2c93df5b5526228 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Fri, 29 Dec 2017 11:32:01 +0530 Subject: [PATCH 2/2] git-clone: wrapping depth in tokens --- pages/common/git-clone.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-clone.md b/pages/common/git-clone.md index b346ad144c..2d1f9e3d9b 100644 --- a/pages/common/git-clone.md +++ b/pages/common/git-clone.md @@ -20,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}}`