So you’ve updated your .gitignore, yet some files (log files?) have changed and git still thinks you might want to commit them.
Try this:
git update-index --assume-unchanged directory/
or
git update-index --assume-unchanged blah/file.log
Thanks to SO: https://stackoverflow.com/questions/655243/ignore-modified-but-not-committed-files-in-git