Expanding context in diffs - The GitHub Blog | Latest TMZ Celebrity News & Gossip | Watch TMZ Live

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…

|
| 1 minutes

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.

expand

You can keep clicking unfold until you’ve revealed the whole file, and the feature is
available anywhere we render diffs.

Happy code reviewing!

Related posts

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.