Skip to content

Instantly share code, notes, and snippets.

@adamhsparks
Forked from linuslundahl/Ignore .DS_Store forever
Last active April 27, 2022 07:08
Show Gist options
  • Save adamhsparks/8c468198c18788b9826cce080f16464d to your computer and use it in GitHub Desktop.
Save adamhsparks/8c468198c18788b9826cce080f16464d 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