I have a project directory that includes the following:
log/
src/log/
tests/log/
.gitignore
In my .gitignore file, I added the following line, thinking it would just ignore the top-level log/
:
log/
However, it also seems to ignore src/log
and tests/log
. How can I prevent it from doing that?