有谁知道是否可以忽略Mercurial中的父文件夹并允许子文件夹提交。
我有一个文件夹结构,这样允许子文件夹在.hgignore
www.Project.com
01 – Consultancy
02 – Information Architecture
03 – Content
04 – Branding
Fonts
Guidelines
Logo
05 – Design
Graphics
Stock Photography
06 – Code
Static site
Wordpress
07 – Marketing
Email
SEO
Social Media
,我喜欢忽略除WordPress的文件夹;
06 - Code\Worpdress\wp-content\plugins
06 - Code\Worpdress\wp-content\themes
我也使用一个代码忽略全局文件夹
syntax: glob
01 - Ignore/**