set-origin

This is the official documentation of the forestadmin/laravel-forestadmin v2+ and forestadmin/symfony-forestadmin PHP agents.

The forest set-origin command 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.

USAGE
  $ forest set-origin [ENVIRONMENT_NAME]

ARGUMENTS
  ENVIRONMENT_NAME  The environment to set as origin.

OPTIONS
  --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.

Last updated