Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Get Jira task-keys from commit messages.
# This will get all task keys that are relevant for the version 2.5.0 release
git log 2.4.0..2.5.0 --pretty=oneline | perl -ne '{ /(\w+)-(\d+)/ && print "$1-$2,"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.