git-checkout.txt: spell out --no-option

It's easier to search for and also less cryptic.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Nguyễn Thái Ngọc Duy 2019-03-29 17:38:53 +07:00 коммит произвёл Junio C Hamano
Родитель e902e9bcae
Коммит d333f672ae
1 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -118,7 +118,8 @@ OPTIONS
--quiet:: --quiet::
Quiet, suppress feedback messages. Quiet, suppress feedback messages.
--[no-]progress:: --progress::
--no-progress::
Progress status is reported on the standard error stream Progress status is reported on the standard error stream
by default when it is attached to a terminal, unless `--quiet` by default when it is attached to a terminal, unless `--quiet`
is specified. This flag enables progress reporting even if not is specified. This flag enables progress reporting even if not
@ -262,7 +263,7 @@ edits from your current working tree. See the ``Interactive Mode''
section of linkgit:git-add[1] to learn how to operate the `--patch` mode. section of linkgit:git-add[1] to learn how to operate the `--patch` mode.
+ +
Note that this option uses the no overlay mode by default (see also Note that this option uses the no overlay mode by default (see also
`--[no-]overlay`), and currently doesn't support overlay mode. `--overlay`), and currently doesn't support overlay mode.
--ignore-other-worktrees:: --ignore-other-worktrees::
`git checkout` refuses when the wanted ref is already checked `git checkout` refuses when the wanted ref is already checked
@ -270,7 +271,8 @@ Note that this option uses the no overlay mode by default (see also
out anyway. In other words, the ref can be held by more than one out anyway. In other words, the ref can be held by more than one
worktree. worktree.
--[no-]recurse-submodules:: --recurse-submodules::
--no-recurse-submodules::
Using --recurse-submodules will update the content of all initialized Using --recurse-submodules will update the content of all initialized
submodules according to the commit recorded in the superproject. If submodules according to the commit recorded in the superproject. If
local modifications in a submodule would be overwritten the checkout local modifications in a submodule would be overwritten the checkout
@ -283,7 +285,8 @@ Note that this option uses the no overlay mode by default (see also
Do not attempt to create a branch if a remote tracking branch Do not attempt to create a branch if a remote tracking branch
of the same name exists. of the same name exists.
--[no-]overlay:: --overlay::
--no-overlay::
In the default overlay mode, `git checkout` never In the default overlay mode, `git checkout` never
removes files from the index or the working tree. When removes files from the index or the working tree. When
specifying `--no-overlay`, files that appear in the index and specifying `--no-overlay`, files that appear in the index and