Change an environment’s parent
All environments default to having another environment as their parent. If you branched the environment from another, its parent starts as the environment it was created from. If you pushed a branch through Git or a source integration, the parent defaults to the default environment.
To change the environment’s parent, follow these steps:
If you’re not using a source integration, you can also set a parent for your environment when pushing changes to it. To do so, run the following command:
git push -o "environment.parent=PARENT_ENVIRONMENT_NAME"
Learn more about how to trigger actions on