Let's say I'm on a GitHub page for a file in a repository, like so:
Note that this links to line
33 and branch
master. If I want to reference this is in an issue or pull request, I'd want a link to the current commit, so that updates to the file don't invalidate my link.
Is there a one-click way to do this?
Obviously, I can click on the commit at the top, copy the SHA, and paste it over
master, but that's inconvenient.