Can I use negation in the exclude field? So that t...
# 🤖|ask-kapa
f
@microscopic-river-74022 Can I use negation in the exclude field? So that the specified file would not be excluded?
m
Please stand by @fresh-angle-76971 as I search the knowledge base. I normally take about 15 seconds or so. :wave:
---------------------- I'm sorry, but the knowledge sources do not mention support for negation patterns (such as using ! to negate a pattern) in the exclude field for Garden configuration. The documentation only describes using POSIX-style paths or glob patterns to specify files or directories to exclude, but does not reference any mechanism for negating exclusions or re-including files via negation in the exclude field. If you need to explicitly include files, you should use the include field in combination with exclude, as described in the documentation. For more details, see the guides on including and excluding files in Garden projects and actions [here]() and [here](). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
message has been deleted