Os arquivos ainda aparecem como modificados após a adição ao .gitignore

--cached
    Use this option to unstage and remove paths only from the index. 
    Working tree files, whether modified or not, will be left alone.
Gifted Gull