Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How Can I Remove .DS_Store Files From A Git Repository? Open terminal and run the following command from your git project root.
find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment