Skip to content

Instantly share code, notes, and snippets.

@linuslundahl
Created September 13, 2010 09:55
Show Gist options
  • Star 52 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
  • 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
@probablykasper
Copy link

Oh, dang nice

@emiliogzzguerra
Copy link

Thank you so much!!!

@CrissLoaiza
Copy link

Thanks

@dylankrieg
Copy link

Very helpful 👍

@NikkaIt
Copy link

NikkaIt commented Mar 5, 2021

Thanks!!

@DevDonkey
Copy link

Thank you!

@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