I want to ignore a particular file name in a particular directory. However, the same filename may appear in subdirectories and in those cases I do *not* want it ignored. The documentation seems to imply that git will read up the directories looking for .gitignore files and will ignore files that I need included.
Have I misunderstood this and/or how can this be done. Any enlightenment appreciated!