Commit message guid - Gapminder/dollar-street-framework GitHub Wiki
To have commit story easy to understand, informative and trace commit with related Jira issue the following commit message pattern is used.
[issue-type]([JIRA-ticket-number]): [keywords] [jira-smart-commit-command]
Possible values:
[issue-type]:
1. feat
- new functionality of appfix
- fix of existing functionalitychore
- routine task for productivity improvement such as refactoring, doc creation, deploy update, which is not linked to the actual feature
[JIRA-ticket-number]:
2. DS
- project code.###
- numeric, related ticket number in JIRA.
[keywords]:
3. Short explanation of the task for your сolleagues.
[jira-smart-commit-command]:
4. To automate routine work such as Jira issue workflow transition or adding a comment, all team members need to use Jira smart commit syntax. NOTE: Please make sure that GitHub commit is signed with the email address you have signed in Jira.
Comment:
Adds a comment to a JIRA Software issue.
Syntax:
<ignored text> ISSUE_KEY <ignored text> #comment <comment_string>
Example:
JRA-34 #comment corrected indent
Workflow transitions:
Transitions a JIRA Software issue to a particular workflow state.
Syntax:
<ignored text> ISSUE_KEY <ignored text> #<transition-name> <comment_string>
Example:
JRA-090 #close Fixed this today