Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-clone.txt: remove shallow clone limitations
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Thu, 5 Dec 2013 13:02:55 +0000
(20:02 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 11 Dec 2013 00:14:19 +0000
(16:14 -0800)
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>
Documentation/git-clone.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
eab3296
)
diff --git
a/Documentation/git-clone.txt
b/Documentation/git-clone.txt
index 450f158779fbfda31c0b3f85d4768a294ef782ef..49878570bfabd3871d2c2c04cadcac52c66a448d 100644
(file)
--- a/
Documentation/git-clone.txt
+++ b/
Documentation/git-clone.txt
@@
-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
--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,
--[no-]single-branch::
Clone only the history leading to the tip of a single branch,