Get the latest tech news
Stop Using Git Ignore
The project git ignore is NOT enough, customise your own workspace to avoid BIG mistakes
For those maintainers out there reading this, I know what you are thinking: “But people don’t set this up properly so if I don’t have this in my repo’s git ignore all the Pull Requests come in with these files.So I add them to the repo’s git ignore to make contributors and maintainers lives easier.” What I noticed though was that this led to some people taking advantage of this project strategy by making it become a “green square game”. As a maintainer, don’t fall into the trap of putting every possible exclusion into the repo’s git ignore.
Or read this on Hacker News