Skip to content

Instantly share code, notes, and snippets.

@finder39
Created March 7, 2015 01:14
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 finder39/4f0f8b1972c677381631 to your computer and use it in GitHub Desktop.
Save finder39/4f0f8b1972c677381631 to your computer and use it in GitHub Desktop.
Remove ll types of files from git repo
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
http://stackoverflow.com/questions/107701/how-can-i-remove-ds-store-files-from-a-git-repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment