You can switch your main environment and your child environment after project creation. To do so, please follow these steps.
If you have a domain set for your default environment, remove it before changing the default branch. Otherwise you get an error that default domain must be a valid project domain.
To change the default branch, you need to be an admin for the project.
So, for example, if you environment tree looks like this:
develop โโโ main
and you want to change things around so it looks like this:
main โโโ develop
You can change do so, by changing the environment's parents with the following CLI commands:
platform env:info -e main parent - platform env:info -e develop parent main
For further information about this, please visit our public documentation about how to change your default environment.
Comments
Please sign in to leave a comment.