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

**URL:** <https://community.okteto.com/t/stignore-prefixed-d-for-all-patterns-even-if-include-file-or-exclude-patterns/78>\
**Category:** Help\
**Created:** [May 11, 2022, 8:18am UTC](https://community.okteto.com/t/stignore-prefixed-d-for-all-patterns-even-if-include-file-or-exclude-patterns/78 "2022-05-11T08:18:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elferia](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/elferia/32/46_2.png) [@elferia](https://community.okteto.com/u/elferia)\
**Post date:** [May 11, 2022, 8:18am UTC](https://community.okteto.com/t/stignore-prefixed-d-for-all-patterns-even-if-include-file-or-exclude-patterns/78/1 "2022-05-11T08:18:17Z")

</div>

[.stignore](https://docs.syncthing.net/users/ignoring.html) can use “include another file (#include)”, “exclude pattern (i.e. not ignored) (!pattern).”

My .stignore (local):

```auto
!target/doc

#include .gitignore

.git

```

But when run `okteto up`, remote `.stignore`:

```auto
(?d)!target/doc

(?d)#include .gitignore

(?d).git

```

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

---

<div class="post-metadata">

**Author:** ![AgustinRamiroDiaz](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/agustinramirodiaz/32/34_2.png) [@AgustinRamiroDiaz](https://community.okteto.com/u/AgustinRamiroDiaz)\
**Post date:** [May 11, 2022, 7:05pm UTC](https://community.okteto.com/t/stignore-prefixed-d-for-all-patterns-even-if-include-file-or-exclude-patterns/78/2 "2022-05-11T19:05:28Z")

</div>

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](https://github.com/okteto/okteto/issues/2679) for this

---

<div class="post-metadata">

**Author:** ![elferia](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/elferia/32/46_2.png) [@elferia](https://community.okteto.com/u/elferia)\
**Post date:** [May 12, 2022, 1:12am UTC](https://community.okteto.com/t/stignore-prefixed-d-for-all-patterns-even-if-include-file-or-exclude-patterns/78/3 "2022-05-12T01:12:26Z")

</div>

Sorry, the file is not under version control.

OS: Windows10
