The$GIT_DIR/info/sparse-checkoutfile populated by thesetandaddsubcommands is defined to be a bunch of patterns (one per line) using the same syntax as.gitignorefiles. In cone mode, these patterns are restricted to matching directories (and users only ever need supply or see directory names...
The$GIT_DIR/info/sparse-checkoutfile populated by thesetandaddsubcommands is defined to be a bunch of patterns (one per line) using the same syntax as.gitignorefiles. In cone mode, these patterns are restricted to matching directories (and users only ever need supply or see directory names...
在官方的一个文档中介绍了“Sparse checkout”,链接如下:https://schacon.github.io/git/git-read-tree.html#_sparse_checkout ,其中讲到: "Sparse checkout" allows to sparsely populate working directory. It uses skip-worktree bit (see git-update-index(1)) to tell Git whether a file on working d...
commit-graph: bounds-check base graphs chunk commit-graph: check size of generations chunk commit-graph: bounds-check generation overflow chunk commit-graph: check bounds when accessing BDAT chunk commit-graph: check bounds when accessing BIDX chunk commit-graph: detect out-of-order BIDX offsets ...
--sparse All commits that are walked are included. Note that without --full-history, this still simplifies merges: if one of the parents is TREESAME, we follow only that one, so the other sides of the merge are never walked. --simplify-merges First, build a history graph in the sa...
git: improve sparse checkout support#5796(@bk2204) hook: fix newlines in command missing message#5886(@xdavidwu) Add batch size config value and use it everywhere#5876(@bogomolets-owl) Support relative paths to linked working trees#5898(@chrisd8088) ...
sparse-index.h split-index.c split-index.h stable-qsort.c statinfo.c statinfo.h strbuf.c strbuf.h streaming.c streaming.h string-list.c string-list.h strmap.c strmap.h strvec.c strvec.h sub-process.c sub-process.h submodule-config.c submodule-config.h submodule.c submodule.h symli...
status: use sparse-index throughout wt-status: expand added sparse directory entries fsmonitor: integrate with sparse index t1092: document bad sparse-checkout behavior p2000: add 'git checkout -' test and decrease depth p2000: compress repo names ...
(merge or diff3) -2, --ours checkout our version for unmerged files -3, --theirs checkout their version for unmerged files -p, --patch select hunks interactively --ignore-skip-worktree-bits do not limit pathspecs to sparse entries only --pathspec-from-file <file> read pathspec from ...
Note Exclusion behaviors (!) are not supported in Git cone pattern syntax.Modify sparse checkout settingsOnce a repo is created, the sparse checkout cone pattern can be edited from Settings > Advanced > Cone patterns. Note the following behavior:...