7

I can see how to view a specific revision and all revision diffs for a GitHub Gist, but do not see how to pick two revisions for comparison, like Wikipedia does. How can this be viewed?

8

There is currently no way via the GitHub web interface to see the diff between any two points of your gist revisions.

The alternative is to download the Gist and then reupload it to your main GitHub account as a full repository and then modify the URL as needed, like the following:

https://github.com/{username}/{repo-from-gist}/compare/{old-commit}..{commit}
0

You can also use the Diff for gist.github Chrome extension.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.