Improvement

August 17, 20181 Minute Read

Collapse all diffs in a pull request at once

When a pull request contains a lot of changed files, code reviewers can find it hard to isolate the changes that are relevant to them. Now you can collapse (or expand) the contents of all diffs in a pull request by holding down the alt key and clicking on the inverted caret icon in any file header.

You can then go one step further by using the “Jump to file or symbol” dropdown to jump to the file that you’re interested in and automatically expand it. Happy code reviewing!

Learn more about code review.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Collapse all diffs in a pull request at once - GitHub Changelog