I have a .gitignore file with the following:
cache/
resources/
The file correctly matches the directories in my root:
cache/
resources/
The files in these directories are ignored and therefore because this is a git system, the directories themselves are ignored. This is also good.
But it also matches a sub directory in a sibling root directory:
default/cms/resources/library/index.cfm
And ignores this path which is not good.
How can I rewrite the .gitignore file so that:
default/cms/resources/library/index.cfm
Is not matched?
And only files & subdirectories inside cache/ & resources/ are matched.
Thank you in advance for any advice you can give me.