0

How to exclude files in sub-directories?

telephono 12 year бұрын жаңартылды 12 year бұрын 2
How do I exclude files in sub-directories of a project? For example, hide all .gitkeep files in a Rails project.

When I use "file_exclude_patterns": [".gitkeep"], all .gitkeep files in sub-directories are still visible.
Could this be a bug on Linux? I just tested it on Mac OS X and it's working as expected... Have to re-evaluate on Linux again (tomorrow...)
Never mind, it works as expected. I don't know, what I did wrong at my first try...