Skip to content

Commit 7693f8b

Browse files
committed
updated README
1 parent ee1753b commit 7693f8b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,30 @@ user/repo:
195195

196196
> **Note:** the exclude file path is relative to the source path
197197

198+
### Include files that match a specific pattern
199+
200+
Using the includeFilePatterns you can filter the list of files that are synchronized to those that match the regex:
201+
202+
```yml
203+
user/repo:
204+
- source: workflows
205+
dest: .github/workflows/
206+
includeFilePatterns: "*.yml"
207+
```
208+
209+
### Exclude files that match a specific pattern
210+
211+
212+
Using the excludeFilePatterns you can filter out the list of files that are synchronized to those that match the regex:
213+
214+
```yml
215+
user/repo:
216+
- source: workflows
217+
dest: .github/workflows/
218+
excludeFilePatterns: "*.md"
219+
```
220+
221+
198222
### Don't replace existing file(s)
199223

200224
By default if a file already exists in the target repository, it will be replaced. You can change this behaviour by setting the `replace` option to `false`:

0 commit comments

Comments
 (0)