diff --git a/pages/common/git-clone.md b/pages/common/git-clone.md index c8425c543..ae355a287 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 0bd1d54e4..5f5188a78 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`