.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.