summaryrefslogtreecommitdiffstats
path: root/git-checkout.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-03-28 15:01:40 -0700
committerJunio C Hamano <gitster@pobox.com>2017-03-28 15:01:40 -0700
commit2affb96f40129de19a00a0ff8b22e31a47499c42 (patch)
tree4700d27428bfbac9938185bf6edea4475dce25bb /git-checkout.txt
parent7ab74c417c5b91c9b0cabd4b4ba94884c0aff570 (diff)
downloadgit-htmldocs-2affb96f40129de19a00a0ff8b22e31a47499c42.tar.gz
Autogenerated HTML docs for v2.12.2-510-ge110
Diffstat (limited to 'git-checkout.txt')
-rw-r--r--git-checkout.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/git-checkout.txt b/git-checkout.txt
index 8e2c0662d..d6399c0af 100644
--- a/git-checkout.txt
+++ b/git-checkout.txt
@@ -256,6 +256,13 @@ section of linkgit:git-add[1] to learn how to operate the `--patch` mode.
out anyway. In other words, the ref can be held by more than one
worktree.
+--[no-]recurse-submodules::
+ Using --recurse-submodules will update the content of all initialized
+ submodules according to the commit recorded in the superproject. If
+ local modifications in a submodule would be overwritten the checkout
+ will fail unless `-f` is used. If nothing (or --no-recurse-submodules)
+ is used, the work trees of submodules will not be updated.
+
<branch>::
Branch to checkout; if it refers to a branch (i.e., a name that,
when prepended with "refs/heads/", is a valid ref), then that