1

Hey I would like to ignore cache directories and the sub-tree of them everywhere. I tried the following:

syntax: glob
**/cache/**

It seems it is not the right thing to do. Would somebody shed some light?

Istvan
  • 7,500
  • 9
  • 59
  • 109
  • should it not be just cache/** ? – Jamie Dixon Dec 17 '10 at 11:36
  • Would \*\*/cache/\*\* ignore all cache directories (and their sub-trees)? I thinking a a situation where you have multiple modules in a project, and each module has an dist, out, or build directory that you would never want checked in. I could see how this could get you into trouble (especially if you had a package named com.myapp.mymodule.util.cache or something similar). – Dave Mar 18 '11 at 15:52

1 Answers1

3

If you're wanting to ignore everything in and below the cache folder the following should work:

syntax: glob
cache/**
Jamie Dixon
  • 53,019
  • 19
  • 125
  • 162