Production
↑
Staging
↗↘
Development
↗↙ ↖↘
Developer1 Developer2
How to create git workflow on heroku?
Production
↑
Staging
↗↘
Development
↗↙ ↖↘
Developer1 Developer2
How to create git workflow on heroku?
Copyright © 2021 Jogjafile Inc.
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, onestaging
branch, oneprod
branch) on the Heroku side (in your local repo, you can have as many branches as you need).