Be careful with this. Sometimes when you're setting up new projects those files are already ignored, but won't be ignored for anyone else unless they also have a global ignore like yours. (And vice-versa and thing not meant to be ignored will be ignored)
Better to do on a per project basis
We’re a place for programmers to stay up-to-date, learn new skills, and share ideas.
We’ll never post without your permission.