I'm using Mercurial and I would like to ignore all folders named 'build' (I have two of these), with one exception - I would like to include the folder 'build/outputs/mapping/release'
I tried to add 'build/*' to .hgignore and manually add the subfolder to my repository it using hg add build/outputs/mapping/release but it didn't work.
Any idea how can I do it in my .hgignore file?
build/[a-n,p-z]*
instead ofbuild/*
? – Hoseyn Heydari