Lesstep
GitHub · pull requests · Checked November 22, 2026

How to see only what changed in a GitHub pull request since you last reviewed it

On the Files changed tab, open the commit selector. GitHub's changelog lists three choices: show all commits, show commits since last review, or choose a list of commits, including a single commit. Files you marked Viewed are unmarked when they change. After a rebase or force push, compare the old and new head with git range-diff or git diff.

On github.com: the commit selector

GitHub's changelog post Review commit-by-commit, improved filtering, and more in the pull request "Files changed" public preview (December 11, 2025) says the selector lets you review "all commits, a subset of commits, or a single commit directly from the new "Files changed" page", and that it opens from the toolbar or with the C key. The image in that post shows a menu with show all commits, show commits since last review, and choose a list of commits. In the post's image, the since last review choice is disabled.

GitHub's pages Reviewing proposed changes in a pull request and Filtering files in a pull request do not describe the commit selector, a since last review option, or how GitHub decides which commits that covers. The menu labels can differ in your view of GitHub, so go by what you see.

Pull Request Inbox for GitHub, a plugin for JetBrains IDEs, shows in your review inbox what is new to you on each pull request and flags the files changed since your last visit.

Viewed marks

From GitHub's Reviewing proposed changes in a pull request: on the Files changed tab, select Viewed on the right of a file's header after you finish reviewing it. The file collapses. "If the file changes after you view the file, it will be unmarked as viewed." The progress bar in the pull request header shows how many files you have viewed. So after a new push, the files that are open again are the ones to look at. More in a file no longer marked Viewed.

With git: after a push

From GitHub's Checking out pull requests locally, git fetch origin pull/ID/head:BRANCH_NAME fetches the pull request into a new branch. Keep one branch per version you reviewed:

git fetch origin pull/NUMBER/head:pr-NUMBER-reviewed
# later, after new pushes
git fetch origin pull/NUMBER/head:pr-NUMBER-latest
git diff pr-NUMBER-reviewed pr-NUMBER-latest

From the git diff manual, git diff COMMIT COMMIT views the changes between two arbitrary commits. If the branch was only added to, this is what is new. Use a different branch name for each fetch, because a force push is not a fast-forward.

After a rebase or force push: git range-diff

From the git range-diff manual, the command "shows the differences between two versions of a patch series, or more generally, two commit ranges". It accepts BASE REV1 REV2, which is equivalent to BASE..REV1 BASE..REV2. BASE does not need to be the exact branch point. With the branches above and the target branch main:

git range-diff main pr-NUMBER-reviewed pr-NUMBER-latest

That compares the two commit series, commit by commit. A plain git diff between the two heads also shows what a rebase brought in from the target branch.

In the IDE

Pull Request Inbox for GitHub, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, shows on each row of the review inbox what is new to you: new, new commits or new activity. All changed files open in one diff viewer, fetched from GitHub. You can mark files as viewed. A later push that changes a file clears its mark, files the push did not touch keep theirs, and files changed since your last visit are flagged. Line conversations show in the diff gutter. All of that is free. Approving, commenting and merging are Pro (US$1.50 a month, with a 30-day trial).

Get it on JetBrains Marketplace

GitHub is a trademark of GitHub, Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by GitHub, Inc. or JetBrains.

More: A file no longer marked Viewed · Commits already squash merged · Line comment outdated · File diff not shown · Every line changed · How to approve a pull request · 日本語