Way to link to a specific line of an arbitrary sha1 and file on GitHub

github

For example, I can link to a specific line of an arbitrary tag and file, like this.

And I can link to an arbitrary sha1 and file, like this, but that's the raw file, so no way to link to a line there.

Is there a way to do sha1, file and line at the same time?

Best Answer

I took your original hash link, changed raw in URL to blob, added #L40, and got this. Is this the thing you wanted?