Anyone know if it is possible to ignore all the instances of a particular directory in a file structure managed by git.
I'm looking to exclude all the 'target' folders in a maven project with a number of submodules. I know I can explicitly exclude each of them in a top level .gitignore, but I'd really like to be able to specify a pattern like **/target/* there to have it automatically ignore the instance in sub directories?
Is this possible?
tia,
ste