Last active
August 8, 2022 10:33
-
-
Save gasparportik/eab3b473a9c2d58e3930920a940ef4e7 to your computer and use it in GitHub Desktop.
One-liner to get a list of all commit messages for a branch compare
This file contains hidden or 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
// for use in devtools console | |
console.log([...document.querySelectorAll('#commits_bucket .Details > p:first-child')].map(x => x.innerText).join("\n").replace(/…/g,'')) | |
// for use in bookmark(prepend `javascript:`) | |
prompt('copy this:', [...document.querySelectorAll('#commits_bucket .Details > p:first-child')].map(x => x.innerText).join("\n").replace(/…/g,'')) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment