You should do this in a [global gitignore](http://robots.thoughtbot.com/post/18739402579/global-gitignore), since it's not application specific.