0

If I run this command on Magento cloud cli what will happen after running this command?

magento-cloud environment: branch <environment-name> <parent-environment-id>

1 Answer 1

1

The magento-cloud command magento-cloud environment:branch is used to create a new environment branch and active it.

If you create a branch using Git command instead of the magento-cloud CLI, it will only checkout the Git branch and will not be “activated”. This means it will not automatically build when you push changes to the remote environment.

You can refer to the official documentation at https://experienceleague.adobe.com/en/docs/commerce-cloud-service/user-guide/dev-tools/cloud-cli/cloud-cli-overview

Tip: Utilize Google Search to find the answer to a question like this.

1
  • will the newly created brach inherit db and code? Commented May 8 at 12:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.