Skip to content

Instantly share code, notes, and snippets.

@radelmann
Forked from linuslundahl/Ignore .DS_Store forever
Created December 1, 2016 21:47
Show Gist options
  • Save radelmann/444d509938c45e57de9ed30e331bcf66 to your computer and use it in GitHub Desktop.
Save radelmann/444d509938c45e57de9ed30e331bcf66 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment