diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-09-20 15:46:08 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-20 15:46:08 -0700 |
commit | de44de3d9e71db785a0bbd06a6ddad8d2c38dd67 (patch) | |
tree | 6ded4cd8380b37ba1b9144d972bf0a6217de78aa /git-sparse-checkout.txt | |
parent | c6d56e8fea997f642ab3ba5e420139151d198f55 (diff) | |
download | git-htmldocs-de44de3d9e71db785a0bbd06a6ddad8d2c38dd67.tar.gz |
Autogenerated HTML docs for v2.33.0-514-g99c99
Diffstat (limited to 'git-sparse-checkout.txt')
-rw-r--r-- | git-sparse-checkout.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/git-sparse-checkout.txt b/git-sparse-checkout.txt index fdcf43f87..42056ee9f 100644 --- a/git-sparse-checkout.txt +++ b/git-sparse-checkout.txt @@ -210,6 +210,16 @@ case-insensitive check. This corrects for case mismatched filenames in the 'git sparse-checkout set' command to reflect the expected cone in the working directory. +When changing the sparse-checkout patterns in cone mode, Git will inspect each +tracked directory that is not within the sparse-checkout cone to see if it +contains any untracked files. If all of those files are ignored due to the +`.gitignore` patterns, then the directory will be deleted. If any of the +untracked files within that directory is not ignored, then no deletions will +occur within that directory and a warning message will appear. If these files +are important, then reset your sparse-checkout definition so they are included, +use `git add` and `git commit` to store them, then remove any remaining files +manually to ensure Git can behave optimally. + SUBMODULES ---------- |