Make it clearer that exclude operates only on directories
This commit is contained in:
parent
dd0e1cce9e
commit
6269f78ed2
@ -35,7 +35,7 @@ variables and ~ are not expanded.
|
|||||||
--exclude
|
--exclude
|
||||||
type=list
|
type=list
|
||||||
A glob pattern. Files with names matching this pattern are excluded from being
|
A glob pattern. Files with names matching this pattern are excluded from being
|
||||||
transferred. Useful when adding directories. Can
|
transferred. Only used when copying directories. Can
|
||||||
be specified multiple times, if any of the patterns match the file will be
|
be specified multiple times, if any of the patterns match the file will be
|
||||||
excluded. If the pattern includes a :code:`/` then it will match against the full
|
excluded. If the pattern includes a :code:`/` then it will match against the full
|
||||||
path, not just the filename. In such patterns you can use :code:`/**/` to match zero
|
path, not just the filename. In such patterns you can use :code:`/**/` to match zero
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user