How to view github pages with a specific commit?

I am trying to view repository documentation at a specific point in time. Is the github url page accessible enough so that I can specify a specific commit hash?

I can not find any information on the Internet about this.

+5
source share
3 answers

As soon as you click the gh-pages branch, old files are replaced with new ones on the static file server. Only one snapshot of the creation of Jekyll is allowed.

+4
source

No, you can’t. GitHub pages only serve the current contents of the gh page branch.

You can, however, clone the repo and check the commit you are looking for locally. You may need to run Jekyll locally, because since ts it is possible not to have the actual HTML files in the gh-pages branch, but you have correctly configured the jekyll page, which will be converted by GitHub on the fly.

+2
source

This is not possible with a url, but you can always clone the repo and generate the document directly in the commit you want.

0
source

All Articles