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?


2 Answers 2


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:


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

  • btw, to compare 2 forks, we just need to go on the fork and see the revisions, it will show the differences in a change log. Not as clear to read as downloading and comparing both files tho. Commented Oct 31, 2021 at 20:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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