diff options
author | Stefan Beller <sbeller@google.com> | 2017-07-28 14:40:11 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-07-28 15:26:02 -0700 |
commit | 57f22bf9979c94f66c3596fb28d0588c1edc2f8d (patch) | |
tree | 8f8882294f341aed0dbf8c71f97395afa60fc7bb /Documentation | |
parent | 3ef253803211f5ec38c88635bfd50f91ccd98e16 (diff) | |
download | git-sb/submodule-recursive-checkout-detach-head.tar.gz |
Documentation/checkout: clarify submodule HEADs to be detachedsb/submodule-recursive-checkout-detach-head
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-checkout.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index d6399c0af8..84bd323a00 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -262,6 +262,8 @@ section of linkgit:git-add[1] to learn how to operate the `--patch` mode. 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. + Just like linkgit:git-submodule[1], this will detach the + submodules HEAD. <branch>:: Branch to checkout; if it refers to a branch (i.e., a name that, |