Guide/Lovable × Vibe code/25 August 2026

Drafts in Lovable, branches in Git. The same concepts, described in different terms.

Every app builder eventually needs the same thing: a way to try an idea without breaking the version that works. Developers solved it decades ago with branches. Lovable's Drafts feature solves it again — for people who never wanted to learn what a Git rebase is.

This guide sits at the border between two of the three routes: the AI-productized lane (Lovable) and the vibe code lane (Claude Code, Cursor, raw Git). If you work in both, it's worth knowing exactly where the abstraction holds and where it stops.

The problem both lanes are solving

You have an app that works. Someone asks for a different layout, a new pricing section, a change of tone in the copy. You want to see it before you commit to it — and you want the current version to stay exactly as it is while you look.

In the vibe code lane, you create a branch, work in it, pull in whatever changed on main while you were busy, then merge and deploy. Five operations, all named after what happens to the project's history.

In Lovable, you open a Draft, chat your way through the idea, hit Update if Main has moved on, then Accept and Publish. Five steps, all named after what you are trying to decide.

"Git names the operation performed on history. Drafts name the decision the builder is making."
01 · The same five moves

Two vocabularies, one workflow

01Start something separate
Vibe code lane
Create a branch

You split off a private line of work. The version everyone else sees is untouched.

Lovable lane
New Draft

You say: I want to try something without changing Main. The draft gets its own chat and its own preview.

02Do the work
Vibe code lane
Edit and commit

Change files, record snapshots as you go.

Lovable lane
Chat and build

Prompt, look at the preview, prompt again. The conversation stays with the experiment.

03Catch up with reality
Vibe code lane
Rebase and resolve conflicts

Replay your work on top of whatever landed on main while you were away — and untangle the overlaps yourself.

Lovable lane
Update

You say: bring in what changed since I started. Lovable does the reworking of overlapping edits.

04Decide
Vibe code lane
Merge

Fold the branch back into the shared history.

Lovable lane
Accept

You say: keep this idea. The edits join Main as a named group of changes — still unpublished.

05Make it real
Vibe code lane
Deploy

A separate delivery step puts the merged version in front of users.

Lovable lane
Publish

Only now does the accepted version reach the live app.

02 · Translation table

If you already think in Git

The mapping is unusually direct. Nothing here is a metaphor stretched thin — it's the same machinery with a different label on the button.

Main
≈
main / trunk
The current shared version of your project. It can already contain accepted changes that nobody outside has seen yet.
Draft
≈
branch, plus context
A separate line of work — with its own AI conversation and preview attached to it.
Update
=
rebase
Your draft is replayed on top of the latest Main. Overlapping edits are reworked for you instead of by you.
Accept
=
fast-forward merge
The draft joins Main as a named group of changes, keeping the project history in a straight line.
Delete
≈
discard the branch
Throw the experiment away. Main is exactly as it was.
Publish
≠
not a merge — a deploy
Accept changes your project. Publish changes what your users see. Two separate decisions, and the most common thing people conflate.
03 · The honest limits

A Draft is more — and currently less — than a branch

What you gain

The reasoning travels with the experiment

A Draft carries its own chat, preview and edits. A branch knows about files and history; it has no memory of the conversation that produced them. When you come back a week later, the Draft can tell you why.

What you give up

An open Draft is not a branch you can check out

In the current beta, open Drafts do not sync to GitHub or GitLab. Once you Accept, the edits flow to your connected repository like any other project change — but while the experiment is open, it lives only in Lovable.

Where it stops

Frontend only, for now

Layout, styling and copy are fair game. Database structure, login setup and enabling Lovable Cloud still happen in Main. Plan bigger structural work outside the Draft flow.

The trap

Your data is not a draft

The Draft's preview still talks to your project's real backend. Records you add, edit or delete while testing are genuinely added, edited or deleted. Isolate the code, not the data.

04 · The mental model to keep

Four floors between an idea and your users

If you have Git sync switched on, this is the boundary worth remembering: the Draft workflow sits above the repository integration. You can experiment without ever creating a branch someone could check out locally.

  1. 01Your Draft

    A separate chat, preview and set of frontend edits. Nobody else is affected by it.

    Accept ↓
  2. 02Lovable Main

    The shared project version, including accepted changes that are not live yet.

    Git sync ↓
  3. 03Git repository

    Durable source history, visible in GitHub or GitLab and on your own machine.

    Deploy ↓
  4. 04The published app

    What your users actually see, after Publish or another deployment path.

    Live

So an accepted Draft can be perfectly real inside Lovable Main while still being invisible to your users — and an open Draft is not something you can pull down from the connected repository.

05 · What to actually do

When to reach for a Draft

Good fit

  • Trying a second version of a page for a stakeholder to react to.
  • Rewriting copy or restyling a section without pausing other work.
  • Exploring an idea you fully expect to throw away.
  • Letting a colleague see an option before it becomes the option.

Stay in Main

  • Database or schema changes, authentication setup, enabling Cloud.
  • Anything where you also need a separate copy of the data.
  • Work a developer needs to check out and run locally today.
  • Long-lived parallel tracks — Drafts are for short experiments.
06 · The point

Git can stay the substrate without being the interface.

Branch describes the shape of a version-control graph. Draft describes the status of unfinished work. Rebase describes rewriting history. Update describes the outcome you want. Merge describes combining histories. Accept describes a decision a person made.

That is not cosmetic. For anyone who understood the value of version control but never found its vocabulary natural, it is a better match between the tool's language and the builder's intent — and it is a good example of where the AI-productized lane is genuinely ahead, rather than merely faster.

The mechanics still matter. You should still know what Accept does underneath. But you no longer have to speak Git to work safely.

Current-state explainer, 25 August 2026. Drafts is a beta feature and its limitations are likely to change. Sources: Lovable Drafts documentation and the git rebase documentation.
Talk it through →

Weighing these routes for a real project? Happy to have a conversation — no pitch deck.