> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vunora.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Git sync and conflicts

> Keep your repository and Vunora in step, pick how edits reach GitHub, and settle conflicts.

Vunora and your GitHub repository stay in step both ways. Edits you make in Vunora go to your repository. Changes your developer pushes to the repository come into Vunora.

Open **Site settings** and scroll to **GitHub sync**.

## Changes from your repository

When **Watching** is on, Vunora picks up each push to your repository and updates the site in Vunora.

To pull changes now, press **Sync now**. To see what the last sync did, press **View last sync run**.

If a push would change content someone edited in Vunora, Vunora does not apply it. It holds the change on the **Conflicts** screen for you to decide.

## How your edits reach GitHub

Under **How should Vunora send your edits to GitHub?**, pick one:

| Choice | What it does |
| - | - |
| **Off** | Content edits stay in Vunora. Changes Vunora AI proposes in your code still reach the repository once you approve them. |
| **Save straight to main** (recommended) | Each change is saved as a commit on your main branch. |
| **Open a pull request for each page** | Each change opens a pull request for a developer to review and merge. |

If your main branch is protected, Vunora opens a pull request instead of a commit. When Vunora and the repository both changed the same place, the change is held for review, never forced.

New or deleted pages, shared parts and site design need **Save straight to main**.

## Re-import from repository

If your developer changed a lot in the code, press **Re-import from repository**. Vunora reads the repository again and shows the result as a review. Nothing on the site changes until you approve it.

## Conflicts

Open **Operate**, then **Conflicts**, in the site sidebar. Each conflict shows a page that changed in Vunora and in the repository.

**1. Open a conflict**

Press the conflict. It shows your version, marked **Yours · CMS**, next to the incoming version, marked **Incoming · repo**. Vunora suggests which one to keep.

**2. Pick the version that wins**

Press **Keep the CMS version** to keep the edit made in Vunora, or **Apply the push** to take the repository version. To decide later, leave the conflict for now. The repository keeps its current text until you decide.

If write-back is **Off**, keeping the CMS version does not reach the repository until you turn write-back on.

When there are none, you see "No repo conflicts on this site".

## If it fails

| What you see | What to do |
| - | - |
| "Webhook missing" or "Pushes to this repository will not sync on their own" | Press **Try webhook setup again**. If it keeps failing, reconnect GitHub and pick the repository again. Until then, use **Sync now**. |
| "A sync is already running for this site." | Wait for it to finish. |
| "Could not start the sync. Try again." | Try again in a minute. |
| Edits stopped reaching GitHub | Open **GitHub connection** in Site settings and press **Reconnect GitHub**. Access may have been removed on GitHub. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.