Register: Common mistakes developers make when prompting AI

Announcing Visual Copilot - Figma to production in half the time

Builder.io
Builder.io
Contact sales

Register: Common mistakes developers make when prompting AI

Announcing Visual Copilot - Figma to production in half the time

Quickly duplicate Project branches to build several prototypes that use the same set of prompts as a base.

This tutorial demonstrates how to create duplicates of a Project branch. This feature enables you to create several variations of a Project before creating a pull request.

An abstract design demonstrating how multiple version of a Builder project can be created with duplicated branches.

Your process may look like the following:

  • Connect your repository to Builder, configuring it for pull requests.
  • Prompt Builder to make adjustments to create a new feature.
  • Create duplicate branches of your Project, making other variations of your feature.

Once you've chosen a final version of your feature, you could then make a pull request to your code repository.

To create a pull request from your Project, you must first ensure your Project has enabled them.

To enable 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.

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 refine your application:

  1. Go to the prompt field embedded on the left, within the Chat tab.
  2. Write a new prompt specifying what you'd like changed.
  3. Click Enter.

Builder immediately begins to apply the changes.

For example, the following prompt would lead to Builder adding a reminder banner to the top of the page with some specific details.

Include a small banner to the top of the page, reminding 
users when they need to RSVP by.

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