[Forest CLI] forest branch add "--env" param to select which branch


I suggest to add an option --env=envName in the forest branch. This allow us to use another environment than production.

forest branch my-new-feature --env=Preprod

Will create the my-new-feature branch from the Preprod env

Hi Justin,

We are precisely working on implementing such a feature. The option will be called origin (forest branch --origin).

We will communicate on this via multiple channels when it’s released, so I’m sure you’ll be informed. Just in case, I’ll try to update this thread.


1 Like