From 13982a4fcba1a9c3069c2e3e2ad30b2164ac1ad9 Mon Sep 17 00:00:00 2001 From: Marco Bonelli Date: Sun, 27 Oct 2019 12:07:00 +0100 Subject: [PATCH] git-clone: correct and reword examples (#3470) --- pages/common/git-clone.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/git-clone.md b/pages/common/git-clone.md index 3de0eb5d6..19f92e900 100644 --- a/pages/common/git-clone.md +++ b/pages/common/git-clone.md @@ -11,14 +11,14 @@ `git clone --recursive {{remote_repository_location}}` -- For cloning from the local machine: +- Clone a local repository: -`git clone -l` +`git clone -l {{path/to/local/repository}}` -- Do it quietly: +- Clone quietly: -`git clone -q` +`git clone -q {{remote_repository_location}}` -- Clone an existing repository, and truncate to the specified number of revisions, save your time mostly: +- Clone an existing repository only fetching the 10 most recent commits on the default branch (useful to save time): `git clone --depth {{10}} {{remote_repository_location}}`