diff --git a/pages/common/git-clone.md b/pages/common/git-clone.md index c8425c5434..ae355a2879 100644 --- a/pages/common/git-clone.md +++ b/pages/common/git-clone.md @@ -13,3 +13,7 @@ - Do it quietly `git clone -q` + +- Clone an existing repository, and truncate to the specified number of revisions, save your time mostly + +`git clone --depth 10 {{REMOTE-REPOSITORY-LOCATION}}` diff --git a/pages/common/git-pull.md b/pages/common/git-pull.md index 0bd1d54e4d..5f5188a78f 100644 --- a/pages/common/git-pull.md +++ b/pages/common/git-pull.md @@ -6,7 +6,7 @@ `git pull` -- Download changes from default remote repository and use fast forward +- Download changes from default remote repository and use fast forward `git pull --rebase`