mk270 / whitakers-words

William Whitaker's WORDS, a Latin dictionary
http://mk270.github.io/whitakers-words/
Other
278 stars 59 forks source link

Added .DS_Store to .gitignore and removed all existing .DS_Store files #130

Open kevinthegreat1 opened 1 year ago

electrodude commented 1 year ago

Shouldn't the .DS_Store rule go in Mac users' user-wide core.excludesFile file, and not in the .gitignore of individual projects?

kevinthegreat1 commented 1 year ago

Well, this project already had .Ds_Store committed so this would be a safe way to prevent it.

electrodude commented 1 year ago

I think you're missing my point. The .DS_Store files are produced by Mac OS and not by anything specific to Whitaker's Words, so they should go in Mac users' global ~/.config/git/ignore and not in the project's .gitignore. Otherwise, you run into ridiculous situations where everyone wants every project's .gitignore to be polluted with their own favorite OS's metadata files, and, much worse, their own favorite editor's backup files.