git config --global core.excludesfile ~/.gitignore
Then list your .DS_Store in that .gitignore file.
Of course then that .gitignore file is per-user, so it won't get
tracked in version control. Meaning other developers would need to
follow suite.
--
Christopher Redinger
http://www.agiledisciple.com