I have this in my .gitignore file located in the root of my repository:
# Expression Web tracking files
/Help/_vti_cnf
/Help/_vti_pvt
But it turns out I need to ignore these two folders in any sub folder of Help or below. See:
How do I modify it to do that?
There is no path which starts with /Help/_vti_cnf
, thus no files are ignored. Change to /Help/PublisherDatabase/_vti_cnf
, /Help/*/_vti_cnf
(all direct subfolders contining _vti_cnf
), /Help/**/_vti_cnf
(all subfolders containing _vti_cnf
) or _vti_cnf
(ignore _vti_cnf
everywhere).
For more information see https://git-scm.com/docs/gitignore