Skip to content
Components

Manage development branches

Enable branched storage, create a development branch, switch between a branch and production, and close a branch by deleting or merging it.

This page has the steps for the life of a development branch: turning on branched storage, creating a branch, moving between it and production, and closing it. How a branch isolates your changes is explained on Development Branches. Reviewing and merging the changes is on Merge requests.

Goal: give every new branch in the project its own isolated storage.

  1. Branched Storage is enabled per project in Project Settings: click your avatar icon at the upper right corner and select Project Settings.

  2. Look for the Branched storage toggle under the Features section and turn it on.

    Screenshot - Branched Storage Toggle

Result: once enabled, all new branches in that project will automatically use the isolated storage model. What that model does is explained in Branched storage.

Goal: get a branch in which you can change and run configurations without touching production.

  1. In production, in the top bar to the right of the project name, click New Development Branch. If the project already has a branch, the control reads Production: open it and click + New Development Branch.

    Screenshot - Create Development Branch

  2. In the Create Development Branch dialog, fill in Name (and optionally Notes), then click Create development branch.

    Screenshot - Name Development Branch

Result: the project switches into the new branch. The top bar shows the branch name with a ⌄ chevron, and the branch switcher lists the branch under Current.

Screenshot - Created Development Branch

Now you can start modifying your configurations, run them, and analyze the results.

If you want to learn more about working in a branch, follow our tutorial.

Goal: move from production into a branch, or back.

  1. Open the branch switcher: in the top bar, click the control to the right of the project name. In production it reads Production ⌄; inside a branch it shows the branch name ⌄. If the project has no branches yet, the control is a plain New Development Branch button and there is nothing to switch to.
  2. Under Switch To, select Production or the branch you want.

Result: the project opens in what you selected, and the switcher lists it under Current.

Goal: end a branch, either discarding its changes or bringing them to production.

  1. Before you merge your development branch back to production, check a detailed diff of the configuration changes.

  2. You can end your branch’s lifecycle in two ways:

    • Deleting: if you do not wish to use the changes you’ve made and want to simply discard them. The data associated with the branch is discarded when the branch is deleted.
    • Merging into production: bring the configuration changes back to production, directly or, in projects with Branches 2.0, through a merge request. What a merge changes, and whether the branch survives it, is in After a merge.
  3. To delete a branch: inside the branch, open the branch switcher, hover over the branch under Current and click Delete branch (the trash icon). In the Delete Development Branch dialog, click YES, delete. The Branch diff page has no delete action; it offers only Merge to production.

Result: a deleted branch takes its data with it. A merged branch leaves new versions of the changed configurations in production; what else a merge leaves behind is described in After a merge.


Next: Merge requests →

Ask Kai

Hi, I'm Kai — Keboola's AI assistant for the docs. Ask me anything and I'll answer from the documentation and cite the pages I use.

Kai is an AI and can make mistakes. Check the sources it links.