Is it possible to create a branch in the development environment?

Feature(s) impacted

the functionalities addressed are the creation of a branch in a local env and the roles in a project

Observed behavior

when I try to create a new branch with the following command:

forest branch my-new-feature

I get the following error:

I tried to set myself to the admin role to be able to use the command but for now I only have the operation role

And when I try to create a role I get the following message

So I have to deploy first to create the role and then create a branch?

Context

  • Project name: Nostrum-Gateway
  • Team name: Operation
  • Environment name: Development
  • Agent type & version: “forest-express-sequelize”: “^8.0.0”

Hey @jacques_liao :wave:

The wording of the error is not totally correct. It should refer to “Permission level”, not “Role”.
As I can see on your screen, you already have the permission level “Admin”, so the issue is not located here.

In order to create a branch, you’ll need to have a production environment setup and running, is that the case?

If not, you do not need to create a branch.
If yes, could you please double check that you are running the branch command inside your project, that you are already login (forest user) is the correct one?

Thanks in advance

Hello @jeffladiray

Then yes we have not yet deployed the project and I think that is the problem.
I’ll let you know as soon as I have the project deployed

Thanks in advance!

1 Like

Good to know.

As you currently only have one development environment, forest branch shouldn’t be needed :+1:

I’ll keep the thread opened, don’t hesitate if you encounter the issue again after deploying to production.