Ability to ignore file in git but not Cursor

Feature request for product/service

Cursor IDE

Describe the request

There’s no way currently to have a file or dir ignored in git but accessible for referencing in Cursor. This is useful for log files which I keep in an ignored directory, for example. Or files with instructions for Cursor. Please add the ability to configure that.