Skip to content

Commit 82fba2b

Browse files
pcloudsgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent eab3296 commit 82fba2b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Documentation/git-clone.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,7 @@ objects from the source repository into a pack in the cloned repository.
181181

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

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

0 commit comments

Comments
 (0)