簡體   English   中英

如何忽略汞的這些路徑模式

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

我是Mercurial的安靜新手,我想忽略followinf模式中包含的所有文件:

文件夾1 /文件夾2 /文件夾3 / Res1文件夾1 /文件夾2 /文件夾3 / Res2文件夾1 /文件夾2 /文件夾3 / Res3

我已經使用了正則表達式功能,如下所述,這不起作用,請問問:

syntax: regexp
folder1/folder2/folder3/Res*

謝謝齊德

您在這里混合了glob和regexp樣式。 以下應該工作:

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM