Expanding context in diffs
Whether it’s reviewing community changes to an Open Source project, or using GitHub Flow on a private project, we all spend a lot of time looking at diffs. But to…
Whether it’s reviewing community changes to an Open Source project, or
using GitHub Flow on
a private project, we all spend a lot of time looking at diffs.
But to really understand a code change, we sometimes need to see more than just
the default three lines of context.
Today we’re excited to announce a new feature that makes this possible.
Using the new unfold button in the gutter of a diff, you can reveal
additional lines of context with a click.
You can keep clicking unfold until you’ve revealed the whole file, and the feature is
available anywhere we render diffs.
Happy code reviewing!
Written by
Related posts
GitHub and JFrog partner to unify code and binaries for DevSecOps
This partnership between GitHub and JFrog enables developers to manage code and binaries more efficiently on two of the most widely used developer platforms in the world.
2024 GitHub Accelerator: Meet the 11 projects shaping open source AI
Announcing the second cohort, delivering value to projects, and driving a new frontier.
Introducing GitHub Copilot Extensions: Unlocking unlimited possibilities with our ecosystem of partners
The world of Copilot is getting bigger, improving the developer experience by keeping developers in the flow longer and allowing them to do more in natural language.