Skip to content

Instantly share code, notes, and snippets.

@rms1000watt
Created July 17, 2016 16:08
Show Gist options
  • Save rms1000watt/bf9a45d20b2123cd57e818f980ea034b to your computer and use it in GitHub Desktop.
Save rms1000watt/bf9a45d20b2123cd57e818f980ea034b to your computer and use it in GitHub Desktop.
Remove .DS_Store if you forgot to add it to your .gitignore initally
# http://stackoverflow.com/questions/107701/how-can-i-remove-ds-store-files-from-a-git-repository
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment