aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-switch.txt
diff options
context:
space:
mode:
authorDamien Robert <damien.olivier.robert@gmail.com>2020-04-06 15:57:06 +0200
committerJunio C Hamano <gitster@pobox.com>2020-04-06 13:42:43 -0700
commitb3cec57338db7b01681716d072f36c29b7f770f4 (patch)
tree3bb3ddfb2070f0b524b7761b53e661b22cd40045 /Documentation/git-switch.txt
parentdd0cb7dffabf18e0e7251b04fda53d110151e811 (diff)
downloadgit-b3cec57338db7b01681716d072f36c29b7f770f4.tar.gz
doc: document --recurse-submodules for reset and restore
Also unify the formulation about --no-recurse-submodules for checkout and switch, which we reuse for restore. And correct the formulation about submodules' HEAD in read-tree, which we reuse in reset. Signed-off-by: Damien Robert <damien.olivier.robert+git@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-switch.txt')
-rw-r--r--Documentation/git-switch.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-switch.txt b/Documentation/git-switch.txt
index 197900363b..79dbc9624d 100644
--- a/Documentation/git-switch.txt
+++ b/Documentation/git-switch.txt
@@ -183,7 +183,7 @@ name, the guessing is aborted. You can explicitly give a name with
Using `--recurse-submodules` will update the content of all
initialized submodules according to the commit recorded in the
superproject. If nothing (or `--no-recurse-submodules`) is
- used, the work trees of submodules will not be updated. Just
+ used, submodules working trees will not be updated. Just
like linkgit:git-submodule[1], this will detach `HEAD` of the
submodules.