gitignore.txt: use backticks instead of double quotes
Among four examples, only this one used "double quoted" sample patterns, but all others marked up the patterns in `monospace`. Signed-off-by: Johan Ruokangas <johan@latehours.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
fb7d80edca
commit
3437f549dd
@ -174,10 +174,10 @@ EXAMPLES
|
|||||||
is not relevant if there is already a middle slash in
|
is not relevant if there is already a middle slash in
|
||||||
the pattern.
|
the pattern.
|
||||||
|
|
||||||
- The pattern "foo/*", matches "foo/test.json"
|
- The pattern `foo/*`, matches `foo/test.json`
|
||||||
(a regular file), "foo/bar" (a directory), but it does not match
|
(a regular file), `foo/bar` (a directory), but it does not match
|
||||||
"foo/bar/hello.c" (a regular file), as the asterisk in the
|
`foo/bar/hello.c` (a regular file), as the asterisk in the
|
||||||
pattern does not match "bar/hello.c" which has a slash in it.
|
pattern does not match `bar/hello.c` which has a slash in it.
|
||||||
|
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
$ git status
|
$ git status
|
||||||
|
Reference in New Issue
Block a user