Combining include and exclude

is it ok run a backup with an include file and exclude file? something similar to this:

restic -r /restic/repo --verbose backup ~ --files-from=.restic_includes --exclude-file=.restic_excludes

Yes, I am currently using like that.
In some cases I’m even including /a and excluding /a/b. Not sure which one takes precedence if I want to include /a/b/c in this case though :grimacing:

ive read people suggesting not to do it but i think if you have include first it wouldnt be an issue :thinking: