简体   繁体   English

如何忽略汞的这些路径模式

[英]How to ignore these path patterns with hg ignore of mercurial

I am quiet novice to Mercurial and I would like to ignore all files included in the followinf patterns: 我是Mercurial的安静新手,我想忽略followinf模式中包含的所有文件:

folder1/folder2/folder3/Res1 folder1/folder2/folder3/Res2 folder1/folder2/folder3/Res3 文件夹1 /文件夹2 /文件夹3 / Res1文件夹1 /文件夹2 /文件夹3 / Res2文件夹1 /文件夹2 /文件夹3 / Res3

I have used regex function as follow bu this did not work, any helo please : 我已经使用了正则表达式功能,如下所述,这不起作用,请问问:

syntax: regexp
folder1/folder2/folder3/Res*

Thanks Zied 谢谢齐德

You are sort of mixing glob and regexp style here. 您在这里混合了glob和regexp样式。 The following should work: 以下应该工作:

syntax: regexp
folder1/folder2/folder3/Res.+

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM