]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-sparse-checkout.txt
Merge branch 'ds/sparse-checkout-harden'
[thirdparty/git.git] / Documentation / git-sparse-checkout.txt
index 091461988107b9c4aeb612ec77c73145296bc62a..a24d90529bd62a99dc46b945b0136e672a1a0374 100644 (file)
@@ -5,7 +5,7 @@ NAME
 ----
 git-sparse-checkout - Initialize and modify the sparse-checkout
 configuration, which reduces the checkout to a set of paths
-given by a list of atterns.
+given by a list of patterns.
 
 
 SYNOPSIS
@@ -41,6 +41,10 @@ COMMANDS
 To avoid interfering with other worktrees, it first enables the
 `extensions.worktreeConfig` setting and makes sure to set the
 `core.sparseCheckout` setting in the worktree-specific config file.
++
+When `--cone` is provided, the `core.sparseCheckoutCone` setting is
+also set, allowing for better performance with a limited set of
+patterns (see 'CONE PATTERN SET' below).
 
 'set'::
        Write a set of patterns to the sparse-checkout file, as given as