find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch git add .gitignore git commit -m '.DS_Store banished!'