Last active
January 12, 2016 12:42
-
-
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.
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
# Replace `v1` and `v2` with the correct SHAs or tags. | |
# Replace `PROJ` with your Jira-Project identifier. | |
git log --pretty=oneline v1..v2 | pcregrep -o --regexp="(PROJ-\d+)" | sort -n | uniq | tr '\n' ',' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment