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.

Have feedback on this post? Let @github know on Twitter.
Need help or found a bug? Contact us.

Changelog

Subscribe

Discover new ways to build better

Try Marketplace apps free for 14 days

Learn more