You shouldn't add IDE specific files to the .gitignore.

http://blog.evan.pro/properly-excluding-ide-specific-files-with-git