Skip to content

Commit 2e3a987

Browse files
jonatan-holmgrengitster
authored andcommitted
doc: fix list continuation in alias subsection example
The example showing the equivalence between alias.last and alias.last.command was missing the list continuation marks (+ between the shell session block and the following prose, leaving the paragraph detached from the list item in the rendered output. Signed-off-by: Jonatan Holmgren <jonatan@jontes.page> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 874cf0d commit 2e3a987

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Documentation/config/alias.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@ Examples:
3030
----
3131
+
3232
With a Git alias defined, e.g.,
33-
33+
+
3434
$ git config --global alias.last "cat-file commit HEAD"
3535
# Which is equivalent to
3636
$ git config --global alias.last.command "cat-file commit HEAD"
37+
+
38+
`git last` is equivalent to `git cat-file commit HEAD`.
3739

38-
`git last` is equivalent to `git cat-file commit HEAD`. To avoid
39-
confusion and troubles with script usage, aliases that
40+
To avoid confusion and troubles with script usage, aliases that
4041
hide existing Git commands are ignored except for deprecated
4142
commands. Arguments are split by
4243
spaces, the usual shell quoting and escaping are supported.

0 commit comments

Comments
 (0)