Browse Source

git-clone.txt: remove shallow clone limitations

Now that git supports data transfer from or to a shallow clone, these
limitations are not true anymore.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Nguyễn Thái Ngọc Duy 11 years ago committed by Junio C Hamano
parent
commit
82fba2b9d3
  1. 7
      Documentation/git-clone.txt

7
Documentation/git-clone.txt

@ -181,12 +181,7 @@ objects from the source repository into a pack in the cloned repository. @@ -181,12 +181,7 @@ objects from the source repository into a pack in the cloned repository.

--depth <depth>::
Create a 'shallow' clone with a history truncated to the
specified number of revisions. A shallow repository has a
number of limitations (you cannot clone or fetch from
it, nor push from nor into it), but is adequate if you
are only interested in the recent history of a large project
with a long history, and would want to send in fixes
as patches.
specified number of revisions.

--[no-]single-branch::
Clone only the history leading to the tip of a single branch,

Loading…
Cancel
Save