diff options
| author | Jonatan Holmgren <jonatan@jontes.page> | 2026-02-26 21:53:26 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-26 13:06:48 -0800 |
| commit | 2e3a987f3b968573e499bb353734430df39a64a5 (patch) | |
| tree | 6450ae67848083db0912b237cff55ef1b4d1244b | |
| parent | 874cf0d49f52b1ce9e62aa8f2225f5624a67e647 (diff) | |
| download | git-2e3a987f3b968573e499bb353734430df39a64a5.tar.xz | |
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>
| -rw-r--r-- | Documentation/config/alias.adoc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/config/alias.adoc b/Documentation/config/alias.adoc index 115fdbb1e3..26949a0ccb 100644 --- a/Documentation/config/alias.adoc +++ b/Documentation/config/alias.adoc @@ -30,13 +30,14 @@ Examples: ---- + With a Git alias defined, e.g., - ++ $ git config --global alias.last "cat-file commit HEAD" # Which is equivalent to $ git config --global alias.last.command "cat-file commit HEAD" ++ +`git last` is equivalent to `git cat-file commit HEAD`. -`git last` is equivalent to `git cat-file commit HEAD`. To avoid -confusion and troubles with script usage, aliases that +To avoid confusion and troubles with script usage, aliases that hide existing Git commands are ignored except for deprecated commands. Arguments are split by spaces, the usual shell quoting and escaping are supported. |
