Created
May 28, 2026 21:25
-
-
Save anataliocs/30a90d89c75701dab74d3f0e456f45ea to your computer and use it in GitHub Desktop.
Global git ignore for MacOS .DS_Store files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| touch ~/.gitignore_global | |
| printf ".DS_Store\n.DS_Store?\n._*\n" >> ~/.gitignore_global | |
| git config --global core.excludesfile ~/.gitignore_global | |
| git config --global core.excludesfile | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment