How to get more lines of context in Github

diff, github

Solution

Github just released a feature for doing this by clicking in the gutter of a diff view: https://github.com/blog/1705-expanding-context-in-diffs

Problem

In github commit viewer or pull request viewer, or the compare view, can I have it show more lines of context around the diffs? Using git cli, I'd do git diff -U100 (or however many lines of context I wanted). I checked out help.github.com with no luck (lines of context doesn't even show up). Other diff viewers usually do this, and other code review tools usually do this. And Github has all kinds of hidden features, so I figured there might be a hidden feature here. Is this possible?

Original source