Watch Now: Common mistakes developers make when prompting AI

Announcing Visual Copilot - Figma to production in half the time

Builder.io
Builder.io
Contact sales

Watch Now: Common mistakes developers make when prompting AI

Announcing Visual Copilot - Figma to production in half the time

By default, Builder Projects have a Commit Mode of Direct Commits. This means that changes pushed to the repository will be added to the main branch of that repository.

Builder supports branching for both cloud repositories, such as GitHub, as well as branching within Builder.

To create branches and pull requests from your Project, you must first ensure your Project has enabled them.

To enable branching and pull requests for your Project:

  1. On your main Projects page, click the three-dot menu for your Project.
  2. Choose Project Settings.
  3. Go to the Advanced tab.
  4. Under Commit Mode, choose the Pull Requests option.
  5. Click Save.

You should now see that you can create a new branch. Use the + New Branch whenever you create new features.

enterprise plans

By default, when using the + New Branch button, the created branch uses your main branch as its base.

To enable other remote branches to be used as the base branch for your Project:

  1. On your main Projects page, click the three-dot menu for your Project.
  2. Choose Project Settings.
  3. Scroll down to the Main Branch Name section.
  4. Select the option enabling base branch selection when creating new branches.
  5. Click Save.

Now when you click + New Branch, you are prompted to first choose your base branch.

After configuring your Project to allow pull request:

  1. Go to the Projects page.
  2. Locate your Project and click + New Branch.

This creates a new Project, using your code repository as its base.

To create a pull request after making changes to your Project, click the Create PR button. After clicking, Builder generates the pull request and then opens a new tab, directing you to your pull request.

Share your pull request with your team to get feedback and potentially merge your changes into your live application.

To duplicate your branch:

  1. Click the three-dot menu at the top-right of the Visual Editor.
  2. Choose Duplicate Branch.

This will create a new branch, but include the current changes you've made to your Project.

Was this article helpful?

Product

Visual CMS

Theme Studio for Shopify

Sign up

Login

Featured Integrations

React

Angular

Next.js

Gatsby

Get In Touch

Chat With Us

Twitter

Linkedin

Careers

© 2020 Builder.io, Inc.

Security

Privacy Policy

Terms of Service

Get the latest from Builder.io

By submitting, you agree to our Privacy Policy

  • Fusion

  • Publish

  • Product Updates

  • Figma to Code Guide

  • Headless CMS Guide

  • Headless Commerce Guide

  • Composable DXP Guide

Security

Privacy Policy

SaaS Terms

Trust Center

Cookie Preferences