Skip to content

Instantly share code, notes, and snippets.

@maxkandler
Last active January 12, 2016 12:42
Show Gist options
  • Select an option

  • Save maxkandler/6f4910143a88ad3c4f5e to your computer and use it in GitHub Desktop.

Select an option

Save maxkandler/6f4910143a88ad3c4f5e to your computer and use it in GitHub Desktop.
One liner to get a coma-separated list of all JIRA-issues between to two commits / branches / tags.
git log --pretty=oneline r95..66b5a2145d065bd6d519e132dad9bee3d5d89a25 | pcregrep -o --regexp="(HCCDR-\d+)" | sort -n | uniq | tr '\n' ','
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment