1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-20 03:39:06 +02:00

Doc: shallow clone deepens _to_ new depth

Clarify that 'depth=' specifies the new depth from the remote's
branch tip. It does not add the depth to the existing shallow clone.
(details from pack-protocol.txt).
Clarify that tags are not fetched. (details from shallow.txt)

Signed-off-by: Philip Oakley <philipoakley@iee.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Philip Oakley 2012-09-19 00:25:28 +01:00 committed by Junio C Hamano
parent 304b7d99a7
commit bc40deabbc

View File

@ -10,7 +10,8 @@
--depth=<depth>::
Deepen the history of a 'shallow' repository created by
`git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])
by the specified number of commits.
to the specified number of commits from the tip of each remote
branch history. Tags for the deepened commits are not fetched.
ifndef::git-pull[]
--dry-run::