---
title: Review before publishing
description: Saves go to a pull request; a reviewer approves and publishes.
---

Turn it on in Configure site → **Publishing**.

1. **Save**

    Each entry's saves go to a branch `gitupcms/<collection>/<slug>` with a pull request. AI Editor changes go to `gitupcms/visual/<id>`.

2. **Preview**

    Each review links its preview deployment: a URL template you set (`{branch}`, `{number}`), or what your host reported to GitHub (deployments, then commit statuses).

3. **Approve**

    Reviewers, admins and owners approve the latest commit.

4. **Publish or discard**

    **Publish** squash-merges that commit and deletes the branch. **Discard** closes the pull request.

**Reviews** in the site sidebar lists every open review; collection lists mark entries that are **In review**.

```txt Preview URL template
https://{branch}--my-site.netlify.app
```

:::note
New media uploads stay direct, since nothing links them yet. Replacing, moving and deleting media need a reviewer. Redirects and the 404 page are always committed directly.
:::
