How to ignore the same directory in any trees with mercurial?

五迷三道 提交于 2019-12-11 09:29:34

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!