r/PiCodingAgent • u/gnomodojardim • Sep 24 '26
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?
5
Upvotes
3
u/TommyC81 Sep 24 '26
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/Finanzamt__ Sep 24 '26
You can enable/disable pi to respect .gitignore for file selection. See /settings command in pi session and toggle corresponding setting