.DS_Store is a platform-specific file and should be ignored in your global .gitignore, not on a per-project basis.