diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-11-21 22:04:34 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-22 16:11:43 +0900 |
commit | bab3c3590879c5680060a5d5e2b93b4f97519025 (patch) | |
tree | bab1c9b6e1113f3144dc8772f578f18c573728a0 /Documentation/git-shell.txt | |
parent | sparse-checkout: create builtin with 'list' subcommand (diff) | |
download | tgif-bab3c3590879c5680060a5d5e2b93b4f97519025.tar.xz |
sparse-checkout: create 'init' subcommand
Getting started with a sparse-checkout file can be daunting. Help
users start their sparse enlistment using 'git sparse-checkout init'.
This will set 'core.sparseCheckout=true' in their config, write
an initial set of patterns to the sparse-checkout file, and update
their working directory.
Make sure to use the `extensions.worktreeConfig` setting and write
the sparse checkout config to the worktree-specific config file.
This avoids confusing interactions with other worktrees.
The use of running another process for 'git read-tree' is sub-
optimal. This will be removed in a later change.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-shell.txt')
0 files changed, 0 insertions, 0 deletions