Ah, yeah, system-specific junk files like the macos stuff should not go in project .gitignore files, that’s like the Windows icon cache file litter too which that post left out in that case. Should set that globally by putting it in a global gitignore file, like echo .DS_Store > ~/.gitignore_global and make sure git uses it as the global gitignore via git config --global core.excludesfile ~/.gitignore_global.
7 Likes


















