How to create git workflow on heroku?
Production
↑
Staging
↗↘ 开发者_StackOverflow社区
Development
↗↙ ↖↘
Developer1 Developer2
How to create git workflow on heroku?
It depends if you have one Git repo on the Heroku side, or several.
With several repo, you can assign each one for a step in the development lifecycle.
But considering the architecture behind a Git repo, it might be easier to manage your dynos in relation with one repo (see here for more on Dynos).
That means you can define one branch per development steps (one dev
branch, one staging
branch, one prod
branch) on the Heroku side (in your local repo, you can have as many branches as you need).
精彩评论