I have a project directory that includes the following:
log/
src/log/
tests/log/
.gitignore
In my .gitignore file, I added the following line, assuming it would just ignore the top level log/
:
log/
However, he also ignores src/log
and tests/log
. How can I prevent this?
source
to share