Skip to content

Files

Latest commit

d150cec · May 21, 2022

History

History

git-issues

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 21, 2022
Jan 11, 2022

git issues

List all issues mentioned in commit messages between range of commits

Git alias:

issues = !sh -c \"git log $1 --oneline | grep -o \\\"ISSUE-[0-9]\\+\\\" | sort -u\"

Example:

git issues

You must adjust the alias regular expression \\\"ISSUE-[0-9]\\+\\\" to be a regular expression that matches your issue tracking system.

For Jira it should be as simple as putting your project name in place of ISSUE.

Best used with tags:

git issues v1.0..v1.1

This alias will work with any valid commit range:

git issues main..HEAD