Skip to content

Commit

Permalink
git-clone.txt: remove shallow clone limitations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
pclouds authored and gitster committed Dec 11, 2013
1 parent eab3296 commit 82fba2b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Documentation/git-clone.txt
Expand Up @@ -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,
Expand Down

0 comments on commit 82fba2b

Please sign in to comment.