.DS_Store should be in the global ignore files on your mac instead of add in each project ([see this link](https://help.github.com/articles/ignoring-files#global-gitignore)).