Your personal .gitignore should contain files/directories that are produced by your OS, IDE and personal tools.
In my opinion things like .idea, .DS_Store, Thumbs.db do not belong in a project's .gitignore but in personal ignore files.
I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
I agree, but the number of other developers on any random project who use badly-behaved OS or IDEs is often quite high. You could tell them to use a particular .gitignore configuration and double-check all their commits, or you could just include it all in the repo and forget about it.
Your personal .gitignore should contain files/directories that are produced by your OS, IDE and personal tools.
In my opinion things like
.idea
,.DS_Store
,Thumbs.db
do not belong in a project's .gitignore but in personal ignore files.I agree, but the number of other developers on any random project who use badly-behaved OS or IDEs is often quite high. You could tell them to use a particular
.gitignore
configuration and double-check all their commits, or you could just include it all in the repo and forget about it.Definitely agree on this!