A developer is tasked with creating a new feature in an Adobe Commerce Cloud project. The developer decides to create an integration environment for a better development process.
Which Cloud CLI for Commerce command would the developer use?
The Cloud CLI for Commerce command that a developer would use to create an integration environment for a better development process is magento-cloud environment:branch . This command creates a new branch in the Git repository and a new environment in the Cloud project, using the specified parent environment as a base. The new environment inherits the code, data, and media files from the parent environment.
To create a new integration environment for development in an Adobe Commerce Cloud project, the developer would use the Cloud CLI for Commerce command:magento-cloud environment:branch <environment-name><parent-environment-ID>. This command creates a new environment by branching from the specified parent environment, providing a separate environment for developing new features or testing without affecting the live site.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit