Skip to content

Instantly share code, notes, and snippets.

@linuslundahl
Created September 13, 2010 09:55
Show Gist options
  • Save linuslundahl/577073 to your computer and use it in GitHub Desktop.
Save linuslundahl/577073 to your computer and use it in GitHub Desktop.
Make git always ignore .DS_Store
$ git config --global core.excludesfile ~/.gitignore
$ echo .DS_Store >> ~/.gitignore
@anttiryt
Copy link

Thanks 👍

Git started ignoring .DS_Store in all subdirs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment