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>
Nguyễn Thái Ngọc Duy committed
Mar 29, 2019 at 17:38 UTC
d333f672aec553e892a93d6dd1082c543f31d2e3
1 file changed
+7
-4
Documentation/git-checkout.txt
+7
-4
@@ -118,7 +118,8 @@ OPTIONS
118
--quiet::
119
Quiet, suppress feedback messages.
120
121
---[no-]progress::
121
+--progress::
122
+--no-progress::
123
Progress status is reported on the standard error stream
124
by default when it is attached to a terminal, unless `--quiet`
125
is specified. This flag enables progress reporting even if not
@@ -262,7 +263,7 @@ edits from your current working tree. See the ``Interactive Mode''
263
section of linkgit:git-add[1] to learn how to operate the `--patch` mode.
264
+
265
Note that this option uses the no overlay mode by default (see also
265
-`--[no-]overlay`), and currently doesn't support overlay mode.
266
+`--overlay`), and currently doesn't support overlay mode.
267
268
--ignore-other-worktrees::
269
`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
271
out anyway. In other words, the ref can be held by more than one
272
worktree.
273
273
---[no-]recurse-submodules::
274
+--recurse-submodules::
275
+--no-recurse-submodules::
276
Using --recurse-submodules will update the content of all initialized
277
submodules according to the commit recorded in the superproject. If
278
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
285
Do not attempt to create a branch if a remote tracking branch
286
of the same name exists.
287
286
---[no-]overlay::
288
+--overlay::
289
+--no-overlay::
290
In the default overlay mode, `git checkout` never
291
removes files from the index or the working tree. When
292
specifying `--no-overlay`, files that appear in the index and