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 Availability Report: November 2024
In November, we experienced one incident that resulted in degraded performance across GitHub services.
The top 10 gifts for the developer in your life
Whether you’re hunting for the perfect gift for your significant other, the colleague you drew in the office gift exchange, or maybe (just maybe) even for yourself, we’ve got you covered with our top 10 gifts that any developer would love.
Congratulations to the winners of the 2024 Gaady Awards
The Gaady Awards are like the Emmy Awards for the field of digital accessibility. And, just like the Emmys, the Gaadys are a reason to celebrate! On November 21, GitHub was honored to roll out the red carpet for the accessibility community at our San Francisco headquarters.