Documentation/checkout: clarify submodule HEADs to be detached
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Stefan Beller committed
Jul 28, 2017 at 14:40 UTC
57f22bf9979c94f66c3596fb28d0588c1edc2f8d
1 file changed
+2
Documentation/git-checkout.txt
+2
@@ -262,6 +262,8 @@ section of linkgit:git-add[1] to learn how to operate the `--patch` mode.
262
local modifications in a submodule would be overwritten the checkout
263
will fail unless `-f` is used. If nothing (or --no-recurse-submodules)
264
is used, the work trees of submodules will not be updated.
265
+ Just like linkgit:git-submodule[1], this will detach the
266
+ submodules HEAD.
267
268
<branch>::
269
Branch to checkout; if it refers to a branch (i.e., a name that,