Skip to content

Instantly share code, notes, and snippets.

@FleXoft
Created June 27, 2018 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FleXoft/7f3f7ec5e0fc707d7e8a868a2762ee84 to your computer and use it in GitHub Desktop.
Save FleXoft/7f3f7ec5e0fc707d7e8a868a2762ee84 to your computer and use it in GitHub Desktop.
Remove .DS_Store files from git repo
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
echo .DS_Store >> .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment