git-worktree.txt: unify command-line prompt in example blocks
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
3f0b42bd07
commit
22d11a6e8e
|
@ -232,7 +232,7 @@ The worktree list command has two output formats. The default format shows the
|
||||||
details on a single line with columns. For example:
|
details on a single line with columns. For example:
|
||||||
|
|
||||||
------------
|
------------
|
||||||
S git worktree list
|
$ git worktree list
|
||||||
/path/to/bare-source (bare)
|
/path/to/bare-source (bare)
|
||||||
/path/to/linked-worktree abcd1234 [master]
|
/path/to/linked-worktree abcd1234 [master]
|
||||||
/path/to/other-linked-worktree 1234abc (detached HEAD)
|
/path/to/other-linked-worktree 1234abc (detached HEAD)
|
||||||
|
@ -247,7 +247,7 @@ if the value is true. An empty line indicates the end of a worktree. For
|
||||||
example:
|
example:
|
||||||
|
|
||||||
------------
|
------------
|
||||||
S git worktree list --porcelain
|
$ git worktree list --porcelain
|
||||||
worktree /path/to/bare-source
|
worktree /path/to/bare-source
|
||||||
bare
|
bare
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue