add this to your global gitignore instead (more info here - https://help.github.com/articles/ignoring-files)