---
title: Changes
description: Review what your agents changed, comment on lines, and commit.
---

The **Changes** view shows everything that changed in the project as one diff you scroll through. It's where you check an agent's work before you commit it. Open it from **Open a view** (press **G**), or click **Commit** in the header.

## Read the changes

- The scope button picks **Whole branch** (everything the branch changed, compared with where it left main) or **Uncommitted only**.
- The file count opens a list of the files. Click a file's header to fold it, and tick **Viewed** to keep it folded until it changes again.
- Switch between **Unified** and **Split**, and use the flask button (**Hide test files**) to review a change without its tests.

## Talk to the agent about a line

Hover a line and click **+**, or drag across lines and click **Comment**, then write your comment and press **Cmd+Enter**. The comment joins the chat box of the session you last clicked in the sidebar, with the file and lines, and goes out when you send.

To undo part of a change, hover a block and click **Revert**, or right-click a file's header for **Revert file…**. Both ask first.

## Commit

When there's uncommitted work, the bar at the bottom takes a commit message. Leave it empty and an agent writes one for you. The main button runs **Commit**, **Commit & Push**, or **Commit, Push & Create PR**, and its arrow also offers **Multiple Commits**, where an agent splits the work into several commits.

On the phone, **Changes** in a session's menu shows the same diff, read-only.

:::tip[Stuck? Ask Ghostex]
Open the sidebar menu (the three lines at the top of the sidebar), choose **Ask Ghostex AI** and ask anything about Ghostex, like "How do I review what an agent changed before committing?". [How Ask Ghostex works](/ask-ghostex)
:::
