Use .gitignore_globalPublished at 19 April 2026#gitI hate .DS_Store. The files that constantly sneak their way into git history. Not anymore!SHELLgit config --global core.excludesfile '~/.gitignore_global' echo '.DS_Store' >> ~/.gitignore_global