Last Updated: February 25, 2016
·
884
· iaincampbell

Remove .DS_Store files from Git repo

Forgot to add them to your .gitignore?

find . -name ".DS_Store" -exec git rm --cached -f {} \;.
git commit -m "Removed OSX meta files" 
git push origin master

Done.