forest set-origincommand enables you to change the origin of a branch.
$ forest push --help
Set an environment as your branch's origin. Your branch will build on top of that environment's layout.
$ forest set-origin [ENVIRONMENT_NAME]
ENVIRONMENT_NAME The environment to set as origin.
--help Display usage information.
The layouts of your branch will be refreshed based on the new origin Environment.
Your branch layout changes that are relevant will be applied on top of the new origin Environment layouts.