doc: document --recurse-submodules for reset and restore
authorDamien Robert <damien.olivier.robert@gmail.com>
Mon, 6 Apr 2020 13:57:06 +0000 (15:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Apr 2020 20:42:43 +0000 (13:42 -0700)
commitb3cec57338db7b01681716d072f36c29b7f770f4
tree3bb3ddfb2070f0b524b7761b53e661b22cd40045
parentdd0cb7dffabf18e0e7251b04fda53d110151e811
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>
Documentation/git-checkout.txt
Documentation/git-read-tree.txt
Documentation/git-reset.txt
Documentation/git-restore.txt
Documentation/git-switch.txt