In my project’s .hgignore, I want to exclude /static/ (i.e., the static folder at the root of the directory), but not /templates/static/. How would I configure .hgignore to allow this?
In my project’s .hgignore , I want to exclude /static/ (i.e., the static folder
Share
You can include
syntax: regexpat the beginning of .hgignore and then use perl regex syntax to root a directory by using^. So just^staticshould do the work.