Skip to content

Instantly share code, notes, and snippets.

@lnoering
Created March 15, 2022 20:07
Show Gist options
  • Save lnoering/2fc84f9d64d921dd6ce623fdb6b0227a to your computer and use it in GitHub Desktop.
Save lnoering/2fc84f9d64d921dd6ce623fdb6b0227a to your computer and use it in GitHub Desktop.
[ GIT - Flow ] - Deploy flow with git and magento.

Only on the commerce cloud projects, it goes like this: When branches are ready to deploy to production:

  • create a release/[yyyymmdd] branch (e.g. release/20220315) from git master
  • merge feature branches that are ready to deploy to this release branch (push release branch to git repo)
  • merge the release branch to git production (push git production up to repo)
  • merge git production to cloud production
  • merge git production to git master
  • optional: merge cloud production to cloud master

for all the other "on-premise" projects, we

  • merge feature branch to master
  • merge master branch to env/production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment