OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ef2538
)
Documentation/checkout: clarify submodule HEADs to be detached
author
Stefan Beller
<sbeller@google.com>
Fri, 28 Jul 2017 21:40:11 +0000
(14:40 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 28 Jul 2017 22:26:02 +0000
(15:26 -0700)
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-checkout.txt
patch
|
blob
|
history
diff --git
a/Documentation/git-checkout.txt
b/Documentation/git-checkout.txt
index
d6399c0
..
84bd323
100644
(file)
--- 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,