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 <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Denton Liu committed
Jun 5, 2019 at 16:10 UTC
01991cee86a01bfb1dd13a7c73d1f793c0b718d3
1 file changed
+6
-6
Documentation/config/alias.txt
+6
-6
@@ -1,7 +1,7 @@
1
alias.*::
2
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
5
confusion and troubles with script usage, aliases that
6
hide existing Git commands are ignored. Arguments are split by
7
spaces, the usual shell quoting and escaping is supported.
@@ -9,10 +9,10 @@ alias.*::
9
+
10
If the alias expansion is prefixed with an exclamation point,
11
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
15
executed from the top-level directory of a repository, which may
16
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`
18
from the original current directory. See linkgit:git-rev-parse[1].