-
Notifications
You must be signed in to change notification settings - Fork 199
Commit Messages
Kevin Hoffman edited this page Feb 7, 2018
·
14 revisions
{type}({scope}): {subject line}
{blank line}
The motivation for this change was...
{blank line}
The issue was resolved by...
{footer}
Each commit message should follow the format above with blank lines clearly separating subject line and body.
build(webpack): set `sourcemap: true` in UglifyJS plugindoc(donors-query): add missing `@since` tags throughout classfeat(reports): migrate methods from `[give_totals]` shortcodestyle(payments-query): correct indentationfix(donation): ensure PHP 5.3 compatibility in array syntax
- Begin each commit message with a
{type}({scope}):prefix. - Use the imperative mood.
- Separate subject line from body with a blank line.
- Use the the optional message body to explain the motivation for the change and how you resolved it.
- Optionally add a footer if the issue is meant to close an issue (e.g.
Closes #123) or use it to document breaking changes. - Wrap any code, such as
Class_Name,method(),$property,$variable, or@tag, in backticks.
- Do not end subject lines with a period.
- Do not exceed 72 characters in subject lines or body text.
This Wiki is focused on GiveWP development. For help using our WordPress plugin, head over to our website where you'll find Plugin Documentation and Support.