.stignore prefixed (?d) for all patterns, even if include file or exclude patterns

.stignore can use “include another file (#include)”, “exclude pattern (i.e. not ignored) (!pattern).”

My .stignore (local):

!target/doc

#include .gitignore

.git

But when run okteto up, remote .stignore:

(?d)!target/doc

(?d)#include .gitignore

(?d).git

(?d)! and (?d)#include make no sense.

Hi elferia!

I cannot reproduce the behavior you are mentioning, can you provide repository and OS?

Even though, I also get a weird behavior: when I use the #include sintax, it just gets ignored.

I filed an issue for this

Sorry, the file is not under version control.

OS: Windows10