I'm working with a Magento site and anytime I do a git commit *
from the application root, the commit fails and prints the following error:
error: pathspec 'media' did not match any file(s) known to git.
There is a media
directory in the root of the site and it has been ignored. The global .gitignore
file has the following line:
/media
Any ideas how to eliminate this error?