Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Schuberth <sschuberth@gmail.com>2016-01-08 12:32:52 +0300
committerJunio C Hamano <gitster@pobox.com>2016-01-08 23:40:12 +0300
commit60253a605d230a7fd2b32e77e94bd620c1399b72 (patch)
tree0b4d2c93f1dd86f50442187b16750371e0e4cde7 /Documentation/git-clone.txt
parentfc142811d14d3acb64d1c2057a774fa1573e60cb (diff)
docs: clarify that --depth for git-fetch works with newly initialized repos
The original wording sounded as if --depth could only be used to deepen or shorten the history of existing repos. However, that is not the case. In a workflow like $ git init $ git remote add origin https://github.com/git/git.git $ git fetch --depth=1 The newly initialized repo is properly created as a shallow repo. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-clone.txt')
0 files changed, 0 insertions, 0 deletions