Stop your site edits and your GitHub repo drifting apart
When words change in both a CMS and your GitHub repo, a change gets lost. How to keep one source of truth, and how Vunora syncs both ways and holds conflicts.

On Tuesday your marketer changes the headline on the home page. On Wednesday your developer, working in Cursor, reworks the hero section and pushes. By Thursday one of those changes is gone, and nobody knows which one the site shows, or why.
This is drift. The same words live in two places, and the two places stop agreeing. This post shows how to keep them in step.
Why edits and code drift apart
In most CMS setups, the content sits in the CMS's database and the code sits in Git. A developer who fixes a heading in the code may not know the heading also lives in the CMS. A marketer who edits the CMS cannot see what the code says. A developer running the site locally may see old text, and the CMS has no record of what the code changed. Every week the two copies move further apart.
How to keep one source of truth without Vunora
- Give every piece of text one home. Decide which words live in the CMS and which live in code. Write the rule in the repository's README.
- Keep content in the repository. A Git-based CMS such as Decap CMS stores content "in your Git repository alongside your code". Every content edit is then a commit in the same history as the code.
- If you use a headless CMS, keep all copy in it. Turn back any pull request that hardcodes text the CMS already holds.
- Meet in a pull request. When code and content change in the same week, merge through a pull request. Your team then sees both changes side by side before either goes live.
These rules work as long as everyone follows them, every time. How to pick a git-based CMS for Next.js compares Vunora with Decap, TinaCMS and Keystatic.
How Vunora keeps both sides in step
Vunora writes each published change into your repository and brings your pushes back.
- Vunora writes to your repository. Like any Git-based CMS, each Publish writes the new words into your source file. It lands as a direct commit or a pull request. How a move to Vunora looks from the developer's side shows exactly what lands.
- Your pushes come back. GitHub tells Vunora about each push to the branch your site watches, and Vunora brings the changed text in. To pull in the latest at any time, open the site's card on the Git sync screen and press "Sync now".
- You see what is in sync. The card lists your synced files, each with its direction: "Two-way", "Repository to Vunora", "Vunora to repository" or "Off". It also gives a count, for example "Synced files · 20 of 22 syncing · 1 paused · 1 conflict".
yoursite
- Sync now pulls in the latestSynced files20 of 22 syncing · 1 paused · 1 conflict
- content/home.jsonTwo-way
- src/app/pricing/page.tsxVunora to repository
- content/legal.mdOff
- A clash waits for a person. When a push changes text that someone also edited in Vunora, Vunora does not pick a winner. It holds the push, marks the run "Held for review", and says which file: "has a repository change that conflicts with an edit made in Vunora. Decide it on the Conflicts screen."
- You decide on the Conflicts screen. Each conflict shows the two sides, "In the CMS" and "In the repo". Choose "Apply the push" to take the repository's version, or "Keep the CMS version". "Once every conflict on this site is decided, Vunora pulls this push again on its own."
src/app/page.tsx, hero heading
In the CMS
Close your books in three days
In the repo
Close your books in two days
- A re-import keeps your edits. A re-import reads the repository again. Where a field changed in both places, it says how many, as in "3 fields changed in both places", and you choose "Keep all mine" or "Take all incoming". For a section you edited, you can choose "Restore my version", "Keep the repository's" or "Bring back this section".
- Rewritten history is caught. A force push, or a push of 20 or more commits at once, is flagged, and Vunora compares the two versions of the files to work out what changed.
What changes for you: the marketer and the developer both work where they like, the repository stays the record of what the site says, and when they collide, a person decides.
Where Vunora stops today
- Vunora relies on GitHub's notice of each push. If one goes missing, the change waits. Press "Sync now" to bring it in.
- One branch per site. Vunora watches the branch you picked at the import. Work on other branches reaches Vunora once it is merged into that one.
- Files Vunora generated are rewritten by a re-import. Change your own files, not the generated ones.
- "Off" means off. If sync is off in one direction, changes in that direction stay where they were made. When delivery to the repository is off, a Publish says "Repository delivery is off for this site, so this change stayed in Vunora."
Terms in this post
New posts by email
One email when a post goes up, about editing and publishing a vibe coded site.


