I'm not sure what this file is, but it's possible to configure a global gitignore so that you don't need to do this for each repo you work on: https://help.github.com/articles/ignoring-files#global-gitignore