Fix code block
This commit is contained in:
parent
95c5517c35
commit
8943741a0b
1 changed files with 2 additions and 1 deletions
|
@ -135,6 +135,7 @@ the exclude options are:
|
||||||
Let's say we have a file called ``excludes.txt`` with the following content:
|
Let's say we have a file called ``excludes.txt`` with the following content:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
# exclude go-files
|
# exclude go-files
|
||||||
*.go
|
*.go
|
||||||
# exclude foo/x/y/z/bar foo/x/bar foo/bar
|
# exclude foo/x/y/z/bar foo/x/bar foo/bar
|
||||||
|
@ -164,7 +165,7 @@ Patterns need to match on complete path components. For example, the pattern ``f
|
||||||
|
|
||||||
* matches ``/dir1/foo/dir2/file`` and ``/dir/foo``
|
* matches ``/dir1/foo/dir2/file`` and ``/dir/foo``
|
||||||
* does not match ``/dir/foobar`` or ``barfoo``
|
* does not match ``/dir/foobar`` or ``barfoo``
|
||||||
|
|
||||||
A trailing ``/`` is ignored, a leading ``/`` anchors the
|
A trailing ``/`` is ignored, a leading ``/`` anchors the
|
||||||
pattern at the root directory. This means, ``/bin`` matches ``/bin/bash`` but
|
pattern at the root directory. This means, ``/bin`` matches ``/bin/bash`` but
|
||||||
does not match ``/usr/bin/restic``.
|
does not match ``/usr/bin/restic``.
|
||||||
|
|
Loading…
Reference in a new issue