Skip to content
← Back to release · 2.1.274
New features / v2.1.274

[Claude Code on the web] Diff against any branch

CHANGELOG · original

[Claude Code on the web] Added a "Compare against" branch picker to a cloud session's diff view, so you can diff its changes against any branch instead of only the base branch
Open official changelog ↗

Documentation

Documentation excerpt

Review changes

Each session shows a diff indicator with lines added and removed, like +42 -18. Select it to open the diff view, leave inline comments on specific lines, and send them to Claude with your next message.

The diff view compares the session's changes against its base branch by default. To compare against any other branch in the repository, select Compare against and pick one.

Claude Code computes these diffs, including the per-file diffs shown as Claude edits, from raw git blob content, so diff drivers and textconv filters configured in the repository don't apply. For a file in a repository that isn't one of the session's own checkouts, such as one cloned inside the workspace during the session, the per-file diff shows Claude's edit itself rather than a git comparison.

See Review and iterate for the full walkthrough including PR creation. To have Claude monitor the PR for CI failures and review comments automatically, see Auto-fix pull requests.

Documentation snapshot · 2026-09-23

Change details