[FEATURE] Session-scoped diff view and revert for changes made in a single chat

Resolved 💬 2 comments Opened May 5, 2026 by chalamanava Closed May 5, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Codex has a feature that shows a per-file diff of only the changes made within the current chat session, and allows reverting just those changes without touching anything else.

Claude Code currently has no equivalent. The only workaround is to manually commit a checkpoint before starting a session and then use git diff HEAD / git reset --hard HEAD.

Requested behavior:

  • A way to view a diff scoped to the current session (what Claude changed, not the full git diff)
  • A way to revert only the changes made in the current session, per-file or all at once

Proposed Solution

Requested behavior:

  • A way to view a diff scoped to the current session (what Claude changed, not the full git diff)
  • A way to revert only the changes made in the current session, per-file or all at once

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

File operations

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗