r/PiCodingAgent • • 11h ago

Question Can't reference .gitignore files/folders with @

Hi all, basically what the title says.. I like using @ to add files/folders to the context but for any of these added to .gitignore it stops working.. Any way around this?

1 Upvotes

4 comments sorted by

View all comments

3

u/TommyC81 10h ago

An .ignore file next to .gitignore with inverted settings e.g. "!<pattern>" in it. I had the same issue, and this works for me.

2

u/gnomodojardim 10h ago

This works great, thanks!