Create a branch

Create a branch, a copy of main, to change project files without touching what is live. Your changes stay off main until you merge them.

Before you start

You need a project. See Create a project.

Create a branch

  1. Change the heading in app/page.tsx, then push it to a new branch. Pushing a branch name that doesn't exist creates it:
    Shell
    npx veryfront push --branch new-headline
  2. Read the output. You should now see Pushed to branch "new-headline" and that branch's preview address.

Try it in a sandbox

  1. Create a project

  2. Push it

  3. Change the heading

  4. Check it

Try it out

Delete a branch

  1. Click the branch menu, which reads new-headline.
  2. Click Delete branch.
  3. Confirm with Delete branch. You should now see "Branch deleted" and the branch menu back on main.

Next steps