Clear/Reset/Archive stale inline diff in IDE

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Inline diff stays sometimes even when a commit is performed, there is no developer command to clear all curent inline diff in a specific workspace ?

Steps to Reproduce

Use cursor IDE and commit with git

Expected Behavior

Inline diff should not show or a developer command should allow to archive/clear all inline diffs states

Operating System

MacOS

Version Information

Version: 3.10.17
VS Code Extension API: 1.125.0
Commit: c89f45b831621cdc5e951694db44fecd8fab1150
Date: 2026-07-05T06:39:45.228Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. There’s an important detail here. Inline diff is a review overlay on top of changes that are already saved to disk. It lives separately from git, so git commit won’t clear it. It’s not the same as whether you currently have uncommitted changes.

There isn’t a single command to clear all inline diff in the workspace right now, but this request is on our radar. For now, the workaround is:

  • Use Keep All. It safely clears the overlay. The changes are already on disk, so you won’t lose anything.
  • Don’t use Undo All for this. It reverts code that’s already saved, it doesn’t just hide the overlay.
  • Starting a new chat also fully resets the Review list.

The bug where diffs get stuck after a commit is known and reproducible. I can’t share a fix timeline yet, but it’s tracked. Let me know if the workaround doesn’t help in your case.

@deanrie Is there a folder I can clean to reset those diffs?

There isn’t a separate folder you can safely clean just to reset these diffs. The inline diff state is mixed together with the workspace state and chat history, so deleting files by hand will most likely wipe chats or sessions too, and it can leave the workspace in a broken state. I wouldn’t recommend that.

The most reliable way to reset stuck diffs is what I wrote above:

  • Keep All safely removes the overlay. The code is already on disk, you won’t lose anything.
  • Start a new chat to fully reset the Review list.

Don’t use Undo All for this. It reverts code that’s already saved, it doesn’t just hide the overlay.

There’s no separate command to clear all inline diffs in a workspace yet, there’s already a request filed for it. If Keep All and starting a new chat don’t help in some case, share the steps to reproduce and I’ll take a look.