DEV Community

Discussion on: Stop tracking and start ignoring

Collapse
 
moopet profile image
Ben Sinclair • Edited

Rather than have just a project-specific .gitignore, which could contain the world, have one per project and a global config that includes all the common trash files (like the __MACOSX and .DS_Store files that Macs leave littered around the place, or Thumbs.db that Windows generates) and a generic list of IDE trash like .nb_project or whatever.

Some OS and applications are really quite bad citizens but it doesn't need to add commits to your project.