问题
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?
回答1:
If you're wanting to ignore everything in and below the cache folder the following should work:
syntax: glob
cache/**
来源:https://stackoverflow.com/questions/4470029/how-to-ignore-the-same-directory-in-any-trees-with-mercurial