I am on a project that uses JIRA today. Their story format is XYZ-123, where XYZ is a project prefix and 123 is the story number. In my work, I would create branch sparks/xyz-123 and make all the commits prefixed thus:
[XYZ-123] Add sweet feature
I think the change that would work best would be to allow the user to specify the regex in init, eg.:
git tracker init '[A-Z]{2,5}-[0-9]{1,5}'
or if they're project specific...
git tracker init 'XYZ-[0-9]{1,5}'
I am on a project that uses JIRA today. Their story format is
XYZ-123, whereXYZis a project prefix and123is the story number. In my work, I would create branchsparks/xyz-123and make all the commits prefixed thus:[XYZ-123] Add sweet featureI think the change that would work best would be to allow the user to specify the regex in
init, eg.:git tracker init '[A-Z]{2,5}-[0-9]{1,5}'or if they're project specific...
git tracker init 'XYZ-[0-9]{1,5}'