Skip to content

Instantly share code, notes, and snippets.

@jsleetw
Created June 8, 2013 08:52
Show Gist options
  • Save jsleetw/5734573 to your computer and use it in GitHub Desktop.
Save jsleetw/5734573 to your computer and use it in GitHub Desktop.
no more .DS_Store in my git !
find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch
echo ".DS_Store" >> .gitignore
git add .gitignore
git commit -m '.DS_Store banished!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment