How to accept a fix in Lovable, Bolt, v0, Replit or Cursor: merging a pull request without coding
A developer, a bot or a repair service like VibeRescue fixed your app and sent you a pull request (PR) on GitHub. Now you're supposed to "merge" it. If you've never done that, it can feel like the moment you break everything. It isn't. This guide walks you through it, step by step, for each builder.
First, the one thing to know: a pull request is only a proposal. Nothing in your app changes until you merge it. And after you merge it, you can still undo it with one button.
1. Check three things before you merge
- The description. It should say in plain words what was broken, what changed and what you have to do afterwards, for example add a key on your host. If it doesn't, ask the author before you merge.
- The checks. Near the bottom of the pull request page, GitHub shows the automatic checks. A green tick means they passed. A red cross means something failed: don't merge yet, and ask the author.
- The files. Open the Files changed tab. You don't have to understand the code, just look at which files were touched. A fix for a login bug that also rewrites your whole homepage deserves a question.
If there's a preview link (Vercel and Netlify often post one on the pull request), open it and try the thing that was broken.
2. Merge it on GitHub (the same for every builder)
- Open the pull request on GitHub.
- Scroll to the bottom and click Merge pull request. If the button says Squash and merge or Rebase and merge instead, that's fine too.
- Click Confirm merge. The pull request now shows a purple Merged label.
If GitHub says This branch has conflicts that must be resolved, stop there. It means your app changed after the fix was written. Don't try to resolve the conflict yourself. Ask the author to update the pull request.
Also check which branch it merges into. It's at the top of the pull request: "wants to merge … into main". Your builder only picks up changes on the branch it's synced with, which is usually main.
3. Get the fix into your builder and onto your live site
Merging updates the code on GitHub. Your builder and your live site may each need one more step.
Lovable
Lovable syncs both ways with the GitHub branch it's connected to, usually main. After the merge, the change arrives in Lovable on its own. To check, open Project settings → Git → GitHub: the sync status card should say Lovable and GitHub are on the same commit.
Your live site does not change yet. A merge never updates a published Lovable app. Click Publish, then Publish changes. A small dot on the Publish button means there are changes that aren't live yet.
If the sync status says GitHub is ahead and the fix doesn't appear, Lovable missed the update. Any new push to the same branch makes Lovable catch up, so ask the author to push one more commit (an empty one is enough).
Bolt
Bolt checks GitHub every 30 seconds and pulls in changes made outside Bolt. Open your project, click the GitHub icon in the top-right corner and make sure you're on the branch the pull request merged into. Then give it a minute.
Don't prompt Bolt while you merge. If Bolt and GitHub change at almost the same moment, Bolt keeps its own version and overwrites GitHub's, and the fix is lost. Once the fix shows up in Bolt, publish again so it reaches your live site.
v0
v0 works with branches: each chat starts from a base branch and saves its edits to its own working branch. If the fix merged into the chat's base branch, open the branch menu next to Publish and choose Pull Changes. It's only available when the base branch has new commits.
If your project is deployed by Vercel from GitHub, merging into the production branch (usually main) starts a new production deployment by itself. You can follow it in the Vercel dashboard under Deployments.
Replit
In your Replit App, open the Git tool (add it from Tools with the + if you don't see it), pick the branch the pull request merged into, and click Pull. Then open Publishing and click Republish. Changes in the editor never replace the live app until you republish.
Cursor, or any editor on your computer
Open the Source Control panel and choose Pull, or run git pull in the terminal. If Vercel or Netlify deploys your site from GitHub, the merge into the production branch already started a new deployment. If you deploy by hand, deploy the way you always do.
4. Check that it really works live
Open your live site, not the builder's preview, in a private browser window. Repeat exactly what was broken: the same page, the same button, the same login. If the fix needs a new key or setting on your host, a good pull request description says so, and a missing key is the most common reason a merged fix "doesn't work". See environment variables missing in production.
5. If something goes wrong, undo it
Open the merged pull request on GitHub and click Revert near the bottom. GitHub creates a new pull request that undoes the change. Merge that one the same way, then sync and publish again as in step 3. Your app is back to how it was before the fix.
6. Stop your AI from breaking it again
Your builder's AI doesn't know why the code changed, and its next edit can quietly undo the fix. Right after the merge, tell it once, in your own words, something like this:
"I merged a fix outside the editor: [what was broken] is now fixed in [files]. Keep this behavior when you make further changes, and don't rewrite these files unless I ask. Now [your next change]."
For rules that should hold every time, use the builder's permanent instructions: project knowledge in Lovable, or a rules file in .cursor/rules in Cursor.
FAQ
Can merging a pull request break my app?
Merging applies only the changes in that pull request to your branch. If something goes wrong, open the merged pull request on GitHub and click Revert: GitHub creates a new pull request that undoes the change, and you merge it the same way.
Does merging a pull request update my live Lovable site?
No. Lovable syncs the merged code into the editor, but the published app changes only when you click Publish, then Publish changes.
Why don't I see the fix in Bolt or v0 after merging?
Check the branch first: the pull request must merge into the branch your builder works on. Bolt checks GitHub about every 30 seconds, so make sure the branch you have open in Bolt is that branch. In v0, open the chat's branch menu and choose Pull Changes, which works when the pull request merged into the chat's base branch.
Do I need to know Git to accept a fix?
No. You need a GitHub account with access to the repository. On the pull request page, click Merge pull request and then Confirm merge, then sync and publish from your builder as described in this guide.