Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用mercurial的hg ignore忽略这些路径模式_Mercurial_Hgignore - Fatal编程技术网

如何使用mercurial的hg ignore忽略这些路径模式

如何使用mercurial的hg ignore忽略这些路径模式,mercurial,hgignore,Mercurial,Hgignore,我是Mercurial的新手,我想忽略以下INF模式中包含的所有文件: folder1/folder2/folder3/Res1 folder1/folder2/folder3/Res2 folder1/folder2/folder3/Res3 我使用了正则表达式函数,如下所示,但这不起作用,请使用任何helo: syntax: regexp folder1/folder2/folder3/Res* 谢谢 Zied您在这里混合了glob和regexp风格。以下方面应起作用: syntax: r

我是Mercurial的新手,我想忽略以下INF模式中包含的所有文件:

folder1/folder2/folder3/Res1 folder1/folder2/folder3/Res2 folder1/folder2/folder3/Res3

我使用了正则表达式函数,如下所示,但这不起作用,请使用任何helo:

syntax: regexp
folder1/folder2/folder3/Res*
谢谢
Zied

您在这里混合了glob和regexp风格。以下方面应起作用:

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

谢谢对于你的回答,不管我想考虑任何子文件夹:FooDR1/YoFald3/RES.+@ ZigWigFubug都应该怎么办:<代码> FoLDR1/[[^/] */FoLDR3/RES.+<代码>