title: What should contain .gitignore file when is a public repository?
body: <p>I have been learning all about .gitignore file but there's a question that I would want to solve. .gitignore should contain all files that you want to ignore. Therefore, you should ignore files generated by the OS, the IDE you are working on... My question appears when the repository is on Github and people can clone it and push the changes. These people can use other operating systems and can use other IDEs. Thus, gitignore should ignore the files generated by these others OS and IDEs.</p>
  
  <p>What should you do? Do you have to write in gitignore all the files generated by all the operating systems and generated by all the IDEs?</p>