Skip to content

Instantly share code, notes, and snippets.

@nadavspi
Created September 26, 2016 16:59
Show Gist options
  • Save nadavspi/ad528cfd14658f32a88e445dae1e6324 to your computer and use it in GitHub Desktop.
Save nadavspi/ad528cfd14658f32a88e445dae1e6324 to your computer and use it in GitHub Desktop.
Create list of commits from GitHub compare page
copy($$('.message').map(i => { if (i.text.indexOf('Merge pull request') > -1 || i.text.indexOf('from') === 0) { return ''; } return i.text }).filter(Boolean).join('\n- '))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment