The issue has been closed
<!-- Thanks for contributing! 🏓 -->
Provide a hotkey for copying the most recent commit hash stub from a pull request. In my use case it's for accessing resources with names identical to the current hash stub related to their commit.
It'd also allow me to avoid the horror that is trying to copy it from the page 
Even if you do copy it from that part of the page, it comes suffixed with a space.
Example URL:
<!-- Please specify a URL where the feature should appear -->
Any pull request URL
https://github.com/$USERNAME/$REPONAME/pull/$NUM I suppose

Can you explain your use case a little more? I don’t understand
posted by fregante over 5 years ago
Sure! As a normal part of my day to day development I'll need to grab the stub from the SHA hash of the latest commit in a pull request, these stubs are then used in the URL to the deployed version of that commit.
It's really fiddly to copy that hash stub, especially with a trackpad. If there were a copy icon (like so, shown underneath) that would also work.
<img width="320" alt="image" src="https://user-images.githubusercontent.com/43134130/66200482-14829e00-e699-11e9-9dad-194b1d8ebdaa.png">
Anything to escape the frustration of accidentally copying the entire bottom half of the pull request page!
posted by Asa-Dawson over 5 years ago
In Chrome, you can just right-click the SHA link and click "Copy" to copy the text (not link).
posted by sindresorhus over 5 years ago
I'm using firefox, where that feature isn't available sadly 😭
posted by Asa-Dawson over 5 years ago
This seems very specific, we can’t add a button
You can probably improve the selection by adding some padding to that element instead (via Stylus or our own CSS field in the Options page)
posted by fregante over 5 years ago