Skip to content

Instantly share code, notes, and snippets.

@bahelms
Last active April 17, 2018 00:42
Show Gist options
  • Save bahelms/f18f551508bb8573c3db to your computer and use it in GitHub Desktop.
Save bahelms/f18f551508bb8573c3db to your computer and use it in GitHub Desktop.
Remove .DS_Store from git index
Remove existing files from repo:
find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch
Add .DS_Store to .gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment