logoalt Hacker News

jayd16yesterday at 7:08 PM1 replyview on HN

The repo should define rules for the repo, no? You have to hope other contributors have a similar local gitignore?


Replies

frizlabyesterday at 7:23 PM

For files like `.DS_Store`, technically yes. Usually the people do not have a proper global gitignore, so we put these files in the gitignore of the repo, but it’s not repo-related, it’s OS-related… Same goes for editor files. The editor is something user-related, not project related (except e.g. for iOS development where the IDE is kind of more or less imposed).