diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-04-22 11:11:40 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-04-22 11:11:40 -0700 |
commit | de0d774d46b3731ea22567efc4aaf1fc8f5ac919 (patch) | |
tree | 68eac5271a875809dd3f0da358d0901f267c882c /Documentation/git-checkout.txt | |
parent | Merge branch 'jk/chopped-ident' (diff) | |
parent | checkout: add --ignore-skip-worktree-bits in sparse checkout mode (diff) | |
download | tgif-de0d774d46b3731ea22567efc4aaf1fc8f5ac919.tar.xz |
Merge branch 'nd/checkout-keep-sparse'
Make the initial "sparse" selection of the paths more sticky across
"git checkout".
* nd/checkout-keep-sparse:
checkout: add --ignore-skip-worktree-bits in sparse checkout mode
Diffstat (limited to 'Documentation/git-checkout.txt')
-rw-r--r-- | Documentation/git-checkout.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index 8edcdcae9d..23a9413525 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -180,6 +180,12 @@ branch by running "git rm -rf ." from the top level of the working tree. Afterwards you will be ready to prepare your new files, repopulating the working tree, by copying them from elsewhere, extracting a tarball, etc. +--ignore-skip-worktree-bits:: + In sparse checkout mode, `git checkout -- <paths>` would + update only entries matched by <paths> and sparse patterns + in $GIT_DIR/info/sparse-checkout. This option ignores + the sparse patterns and adds back any files in <paths>. + -m:: --merge:: When switching branches, |