Interview Prep/Git & GitHub/Branching and workflow design

How do you promote a change across environments with Git as the source of truth?

IntermediateProductionBranching and workflow design
Answer

CI builds an image and a bot opens a PR bumping the image tag in the dev overlay, merge deploys to dev automatically, and subsequent promotion PRs bump staging and prod after checks pass or approval. Every deploy is a commit, so rollback is git revert and audit is git log.

All Git & GitHub questions Roadmap: Git & GitHub

More on Branching and workflow design