Skip to content

Commit 01991ce

Browse files
Denton-Lgitster
authored andcommitted
config/alias.txt: change " and ' to `
Before, the documentation would mix " and ' for code and config snippets. Change these instances to ` so that they are marked up in monospace. Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent aeb582a commit 01991ce

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Documentation/config/alias.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
alias.*::
22
Command aliases for the linkgit:git[1] command wrapper - e.g.
3-
after defining "alias.last = cat-file commit HEAD", the invocation
4-
"git last" is equivalent to "git cat-file commit HEAD". To avoid
3+
after defining `alias.last = cat-file commit HEAD`, the invocation
4+
`git last` is equivalent to `git cat-file commit HEAD`. To avoid
55
confusion and troubles with script usage, aliases that
66
hide existing Git commands are ignored. Arguments are split by
77
spaces, the usual shell quoting and escaping is supported.
88
A quote pair or a backslash can be used to quote them.
99
+
1010
If the alias expansion is prefixed with an exclamation point,
1111
it will be treated as a shell command. For example, defining
12-
"alias.new = !gitk --all --not ORIG_HEAD", the invocation
13-
"git new" is equivalent to running the shell command
14-
"gitk --all --not ORIG_HEAD". Note that shell commands will be
12+
`alias.new = !gitk --all --not ORIG_HEAD`, the invocation
13+
`git new` is equivalent to running the shell command
14+
`gitk --all --not ORIG_HEAD`. Note that shell commands will be
1515
executed from the top-level directory of a repository, which may
1616
not necessarily be the current directory.
17-
`GIT_PREFIX` is set as returned by running 'git rev-parse --show-prefix'
17+
`GIT_PREFIX` is set as returned by running `git rev-parse --show-prefix`
1818
from the original current directory. See linkgit:git-rev-parse[1].

0 commit comments

Comments
 (0)