v0 merge PR and branch workflow: how to publish again
v0 now wants a Merge PR for every change and leaves branches behind. Why it happens, how to merge and clean up, and when to publish a static export instead.
The Liite team7 min di lettura
Short answer
With a GitHub repo connected, v0 works on a branch, and the change only goes live once its pull request is merged into your production branch. Merge the PR (on GitHub, or with v0's merge button if you see one), then turn on GitHub's Automatically delete head branches setting to stop the pile-up. Disconnecting the repo is a last resort because you lose the backup.
After v0's GitHub-branch update, a one-line text change seems to need a pull request, a merge and a new chat. Your repo fills with branches, and old chats close. You want to change something and publish it, as you did before.
People on Reddit's r/v0_ describe this as a sharp change from the earlier flow. I could not find a v0 help page that documents the exact behavior, so the v0-specific details below come from those reports. The Git and Vercel parts are from official docs. Check v0's own docs and Vercel's changelog for the current state, since the reports date from early 2026.
Why v0 asks for a merge
The reports describe the same pattern. A v0 project connected to a GitHub repo does each chat's work on its own branch, and nothing reaches the main branch until a PR is merged. That is standard Git. GitHub's own guide to this flow says your changes will not end up on the default branch until you merge your branch.
Vercel then turns the merge into a release. Its docs say that once you merge your PR into the main branch, Vercel will create a production deployment. Before the merge you get preview deployments only. After you create a pull request to that branch, Vercel creates a unique deployment you can use to preview any changes.
So the symptom "I changed it but my live site did not" usually means the change is sitting on a branch or in an open PR.
The branch pile is a side effect. Each chat leaves a branch behind, and a merge does not delete it unless something is set up to do that. People in the threads say Vercel told them merged branches would be deleted automatically. I have not found that confirmed in documentation, so treat it as a stated plan and use GitHub's setting below.
How to get your change live
Work through these in order, from least to most disruptive.
1. Merge the pull request
- Open the PR v0 created for your chat. You can reach it from the chat if v0 shows a merge or PR link, or from your repo.
- On GitHub, click Pull requests under the repository name, then open the PR.
- Scroll to the bottom and click Merge pull request. GitHub notes that if the option is not shown, you can use the merge dropdown and select Create a merge commit.
- Wait for Vercel to build. The merge triggers a production deployment, as described above.
If the merge button is disabled, check the PR for blockers. Repository rules or branch protection may require reviews, status checks, or an up-to-date branch before merging. Also, you can't merge a draft pull request.
Tip
Batch several small edits into one chat before you merge. One PR for ten tweaks is far less work than ten PRs.
2. Clean up merged branches
Deleting a merged branch loses nothing, because the commits are on the main branch. In the repo, open the branch dropdown, click View all branches, and delete the merged ones.
To stop it recurring, turn on the automatic option. GitHub's steps: under your repository name, click Settings, then on the "General" settings page, find "Pull Requests" and select Automatically delete head branches. Branch protection or repository rules can still stop deletion, as they can prevent branches being automatically deleted.
3. Disconnect the GitHub repo
People report that removing the GitHub connection from the v0 project brings back the old change-and-publish flow, at the price of the automatic backup in your repo. Before you do it:
- Clone the repo or download the code, so you hold a copy.
- Merge or discard any open PRs you care about.
- Then disconnect in the project's settings. I could not confirm the exact menu path, so look for the Git or GitHub connection in the project settings.
Warning
Do not delete a branch that holds unmerged work unless the code exists somewhere else. Deleting a branch with an open pull request closes that pull request.
4. Publish the files yourself
If what v0 built is a plain front end, you can export it and host the files anywhere, with no branch step. See the last section for one option and its limits.
Cause, symptom and fix at a glance
| Cause | What you see | Fix |
|---|---|---|
| Change is on a branch | Preview works, live site unchanged | Merge the PR |
| PR is a draft | No merge button | Mark it ready for review, then merge |
| Branch protection or required checks | Merge blocked | Satisfy the checks or ask a repo admin |
| Merged branches not deleted | Long branch list | Turn on Automatically delete head branches |
| Repo connection causes the friction | Every edit needs a PR | Back up, then disconnect |
What won't help
- Starting a new chat to avoid the merge. Going by the reports, each chat gets its own branch, so you add to the pile.
- Closing the PR without merging. The change never reaches your production branch.
- Force-pushing to main to skip review. It can rewrite history that others rely on. GitHub warns that force pushes may remove commits other collaborators based their work on.
Checklist before you try again
- The PR is open, not a draft, and targets your production branch (often
main). - Required checks pass and no review is pending.
- You merged, and the Vercel project shows a production deployment for the merge.
- Merged branches are deleted, or auto-delete is on.
- You have a local copy of the code before you disconnect anything.
If nothing works
Contact v0 support or Vercel support, depending on where it fails. If the merge itself fails, GitHub support or your repo admin is the right place. Include the project and chat URLs, the PR link, the time of the attempt, what v0 showed, and the steps you tried.
Subject: v0 change not reaching production after Merge PR
Hi, my v0 project is connected to a GitHub repo. I merged the pull request
(link: <PR URL>) at <time, timezone>, but the production deployment did not
update / the merge button is disabled.
What I see: <exact message or screenshot>.
Already tried: merging on GitHub, checking for draft status and required
checks, deleting merged branches.
Project: <v0 project URL>. Expected: the merged change appears on
<your domain>. Please tell me what is blocking it.If your site is a static export
If v0's result exports to plain HTML, CSS and JavaScript, you can upload those files to Liite and skip the merge step. Liite serves an uploaded .html file, a .zip or a folder at a <slug>.liite.site address. Uploading again keeps the same address, and old versions are kept for rollback: 3 on Free and 20 on Pro.
This is only a partial replacement. Liite does not run server-side code, has no build step and has no Git or GitHub deploys, so an app that needs a server, a database or a build will not work as is. Upload size per site is 3 MB on Free and 25 MB on Pro. A Free uploaded site needs a card on file and goes offline 7 days after its last publish. The steps are in put an HTML file, a zip or a PDF online, and the uploaded sites docs list what is accepted.
Common questions
Do I have to merge every time?
If you keep the repo connected, yes: the merge is what produces the production deployment. You can reduce the work by batching edits per chat.
Are the extra branches costing me anything?
I found no documented cost. They clutter the branch list, and GitHub suggests deleting a branch after merging it so old ones are not used by mistake.
Can I get a deleted branch back?
If the branch was merged, the commits are on your main branch, so nothing is lost. For unmerged work, restore depends on GitHub keeping the PR, so copy the code first.
Is the merge step a bug?
I could not confirm that. The reports describe it as the intended result of the GitHub-branch update, and Vercel's docs describe merge-to-production as normal behavior.