Created
April 26, 2023 20:52
-
-
Save markflorkowski/e31131fa43bca2c1be2ceb285082a4c3 to your computer and use it in GitHub Desktop.
Github "Copy Full SHA" UserScripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// or just replace the short sha with the full length one | |
(function() { | |
const links = document.querySelectorAll("a.Link--muted svg.octicon-git-commit"); | |
links.forEach(link => { | |
link.parentElement.innerText = link.parentElement.href.split("/").pop() | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment