Is there a way to setup remote-specific .gitignores?

前端 未结 3 1613
醉梦人生
醉梦人生 2020-12-14 16:51

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

3条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-14 17:07

    Do not put database information in database.yml. Instead, use Heroku environment variables.

提交回复
热议问题