for stuff like this you might want a global gitignore

see e.g. https://help.github.com/articles/ignoring-files#global-gitignore