From: Kristoffer Haugsbakk Date: Tue, 28 Oct 2025 18:19:19 +0000 (+0100) Subject: doc: git-checkout: fix placeholder markup X-Git-Tag: v2.52.0-rc1~7^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d24220b9e81e75c14a9e67d71a60dd81a1ba5467;p=thirdparty%2Fgit.git doc: git-checkout: fix placeholder markup The placeholder markup is underscore (_), not backtick (`) as well. The inline-verbatim markup (backticks) handle interior formatting. This means in this case that it applies HTML `` to the underscores and `` to the placeholder. That is the effect, anyway; we can see from the rest of 042d6f34 (doc: git-checkout: clarify `-b` and `-B`, 2025-09-10) that this was probably an unintended mix-up. Acked-by: Julia Evans Signed-off-by: Kristoffer Haugsbakk Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-checkout.adoc b/Documentation/git-checkout.adoc index 431185ca0b..6f281b298e 100644 --- a/Documentation/git-checkout.adoc +++ b/Documentation/git-checkout.adoc @@ -61,7 +61,7 @@ uncommitted changes. `git checkout -B []`:: The same as `-b`, except that if the branch already exists it - resets `__` to the start point instead of failing. + resets __ to the start point instead of failing. `git checkout --detach []`:: `git checkout [--detach] `:: @@ -155,7 +155,7 @@ of it"). `-B `:: The same as `-b`, except that if the branch already exists it - resets `__` to the start point instead of failing. + resets __ to the start point instead of failing. `-t`:: `--track[=(direct|inherit)]`::