Better Word Highlighting in Diffs

Commits, compare views, and pull requests now highlight individual changed words instead of the entire changed section, making it easier for you to see exactly what’s been added or removed.

Old and new highlighting behaviors

And, of course, it works great with split diffs, too:

New highlighting in split diff

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



Discover new ways to build better

Try Marketplace apps free for 14 days

Learn more