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

[PATCH 2/2] git-worktree.txt: unify command-line prompt in example blocks

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Apr 9, 2018, 07:34 UTC
Message-ID
<20180409073400.19415-2-sunshine@sunshineco.com>
In-Reply-To
<20180409073400.19415-1-sunshine@sunshineco.com>

The command-line prompt in the "EXAMPLES" section is "$", however, examples in the 'git worktree list' section (oddly) use "S" as a prompt. Fix this inconsistency by settling on "$" as prompt in all examples.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
---
 Documentation/git-worktree.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-worktree.txt b/Documentation/git-worktree.txt
index bc9cd8b60f..2755ca90e3 100644
--- a/Documentation/git-worktree.txt
+++ b/Documentation/git-worktree.txt
@@ -233,7 +233,7 @@ The worktree list command has two output formats.  The default format shows the
 details on a single line with columns.  For example:
 
 ------------
-S git worktree list
+$ git worktree list
 /path/to/bare-source            (bare)
 /path/to/linked-worktree        abcd1234 [master]
 /path/to/other-linked-worktree  1234abc  (detached HEAD)
@@ -248,7 +248,7 @@ if the value is true.  An empty line indicates the end of a worktree.  For
 example:
 
 ------------
-S git worktree list --porcelain
+$ git worktree list --porcelain
 worktree /path/to/bare-source
 bare
 
-- 
2.17.0.484.g0c8726318c
Previous: Eric SunshineNext: Duy Nguyen
Message 2 of 3 in “git-worktree.txt: recommend 'git worktree remove' over manual deletion”
  1. 1/2 git-worktree.txt: recommend 'git worktree remove' over manual deletionEric Sunshine, Apr 9, 2018
  2. 2/2 git-worktree.txt: unify command-line prompt in example blocksEric Sunshine, Apr 9, 2018
  3. Duy NguyenApr 9, 2018

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.