Is there a simple way to setup different .gitignore files for different remotes? I have a repository I push up to both Heroku and Github. I need database.yml for Heroku, b
Do not put database information in database.yml. Instead, use Heroku environment variables.