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\' f
It is possible to use patterns in a .gitignore file. See the gitignore man page. The pattern */target/* should ignore any directory named target and anything under it. Or you may try */target/** to ignore everything under target.
.gitignore
*/target/*
*/target/**