Skip to content

Instantly share code, notes, and snippets.

@Luavis
Forked from randyjhunt/gist:43184
Last active August 29, 2015 14:03
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 Luavis/82299289d763d70c9e62 to your computer and use it in GitHub Desktop.
Save Luavis/82299289d763d70c9e62 to your computer and use it in GitHub Desktop.
ds_store_remove.sh
find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch
git config --global core.excludesfile ~/.gitignore
echo .DS_Store >> ~/.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment