<ignored text> <ISSUE_KEY> <ignored text> #<COMMAND> <COMMAND_ARGUMENTS>
git commit -m “doc: add README to the repo JIRA-123”
git commit -m “feat: update header JIRA-123 #time 4h 30m”
git commit -m “JIRA-123 #comment corrected background color”
git commit -m “feat: fetch user data JIRA-123 #review”
information - 1.
information - 2.
Consistent, sensible commit messages are hard
git commit -m "free form does not help too much"
type(optional-scope): subject
Examples:
fix: correct spelling of CHANGELOG
feat(localization): added polish language JIRA-123
The Structure
type(optional-scope): subject
Examples:
fix: correct spelling of CHANGELOG
feat(localization): added polish language JIRA-123
The Structure - Type
type(optional-scope): subject
Examples:
fix: correct spelling of CHANGELOG
feat(localization): added polish language JIRA-123
The Structure - Scope
type(optional-scope): subject
Examples:
fix: correct spelling of CHANGELOG
feat(localization): added polish language JIRA-123
The Structure - Subject
Lint commit messages with Pre-Commit hooks
CLI tools for easy commit messages
git-cz
gitmoji
Slides: http://bit.do/jira-github
Wiki page: http://bit.do/wiki-docs