Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Globally ignore .DS_Store files
# Quick and easy one line command to setup a global .gitignore file and ignore macOS .DS_store files globally
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