Use .gitignore_global

Published at

#git

I hate .DS_Store. The files that constantly sneak their way into git history. Not anymore!

SHELL
git config --global core.excludesfile '~/.gitignore_global'
echo '.DS_Store' >> ~/.gitignore_global