Setup for Mac / Linux git config --global core.excludesfile ~/.gitignore Global .gitignore content # Custom folder ignore # Mac .DS_Store