From: Stefan Beller Date: Fri, 28 Jul 2017 21:40:11 +0000 (-0700) Subject: Documentation/checkout: clarify submodule HEADs to be detached X-Git-Tag: v2.16.0-rc0~84^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=57f22bf9979c94f66c3596fb28d0588c1edc2f8d;p=thirdparty%2Fgit.git Documentation/checkout: clarify submodule HEADs to be detached Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- 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 to checkout; if it refers to a branch (i.e., a name that,