git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v3 1/2] Documentation/config/checkout: replace sq with backticks

From
Denton Liu <liu.denton@gmail.com>
Date
Oct 8, 2020, 05:48 UTC
Message-ID
<f08d3f796a806b5ec20f12cc85683b2c2e99b1a8.1602136063.git.liu.denton@gmail.com>
In-Reply-To
<cover.1602136063.git.liu.denton@gmail.com>

The modern style for Git documentation is to use backticks to quote any command-line documenation so that it is typeset in monospace. Replace all single quotes with backticks to conform to this.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
---
 Documentation/config/checkout.txt | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Documentation/config/checkout.txt b/Documentation/config/checkout.txt
index 6b646813ab..e3684a5459 100644
--- a/Documentation/config/checkout.txt
+++ b/Documentation/config/checkout.txt
@@ -1,18 +1,18 @@
 checkout.defaultRemote::
-	When you run 'git checkout <something>'
-	or 'git switch <something>' and only have one
+	When you run `git checkout <something>`
+	or `git switch <something>` and only have one
 	remote, it may implicitly fall back on checking out and
-	tracking e.g. 'origin/<something>'. This stops working as soon
-	as you have more than one remote with a '<something>'
+	tracking e.g. `origin/<something>`. This stops working as soon
+	as you have more than one remote with a `<something>`
 	reference. This setting allows for setting the name of a
 	preferred remote that should always win when it comes to
 	disambiguation. The typical use-case is to set this to
 	`origin`.
 +
 Currently this is used by linkgit:git-switch[1] and
-linkgit:git-checkout[1] when 'git checkout <something>'
-or 'git switch <something>'
-will checkout the '<something>' branch on another remote,
-and by linkgit:git-worktree[1] when 'git worktree add' refers to a
+linkgit:git-checkout[1] when `git checkout <something>`
+or `git switch <something>`
+will checkout the `<something>` branch on another remote,
+and by linkgit:git-worktree[1] when `git worktree add` refers to a
 remote branch. This setting might be used for other checkout-like
 commands or functionality in the future.
-- 
2.28.0.942.g77c4c6094c
Previous: Denton LiuNext: Denton Liu
Message 13 of 14 in “checkout: learn the checkout.guess config variable”
  1. 0/2 checkout: learn the checkout.guess config variableDenton Liu, Oct 4, 2020
  2. 1/2 Documentation/config/checkout: replace sq with backticksDenton Liu, Oct 4, 2020
  3. 2/2 checkout: learn to respect checkout.guessDenton Liu, Oct 4, 2020
  4. Junio C HamanoOct 4, 2020
  5. Denton LiuOct 6, 2020
  6. Junio C HamanoOct 6, 2020
  7. Johannes SchindelinOct 6, 2020
  8. 0/2 checkout: learn the checkout.guess config variableDenton Liu, Oct 7, 2020
  9. 1/2 Documentation/config/checkout: replace sq with backticksDenton Liu, Oct 7, 2020
  10. 2/2 checkout: learn to respect checkout.guessDenton Liu, Oct 7, 2020
  11. Junio C HamanoOct 7, 2020
  12. 0/2 checkout: learn the checkout.guess config variableDenton Liu, Oct 8, 2020
  13. 1/2 Documentation/config/checkout: replace sq with backticksDenton Liu, Oct 8, 2020
  14. 2/2 checkout: learn to respect checkout.guessDenton Liu, Oct 8, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.