Change the branch for an app

Introduction

The Git branch of an environment component can be changed in two ways:

  • From the UI
  • From the bunnyshell.yaml file

 

Using the Bunnyshell UI

  1. Log in to your Bunnyshell account.
  2. Access your desired environment.
  3. Select the Component you want to edit.
  4. Click the Actions button.
  5. Select Change branch.
  6. Type the name of the new branch, then click Change branch.

 

Using the bunnyshell.yaml configuration

The path at which it resides is components.SERVICE_NAME[*].gitBranch, as indicated in the screenshot below.

1704

Please take a look at how to edit the bunnyshell.yaml configuration if the screen is unfamiliar.

📘

Note

The gitBranchattribute also supports git tags or commit refs.