-
Notifications
You must be signed in to change notification settings - Fork 192
Commit Messages
Kevin Hoffman edited this page Aug 3, 2019
·
14 revisions
A commit message describes a single logical change that may affect one or more files.
Each commit message should include a <type>:
prefix and <subject line
>. Additional information may be provided with blank lines clearly separating subject line, body, and footer.
<type>: <subject line>
The motivation for this change is...
The issue is resolved by...
<footer>
chore: enable sourcemaps in UglifyJS
-
doc: add missing
@sincetags
-
feat: add
[give_totals]shortcode
format: correct indentation
fix: ensure PHP 5.3 compatibility in array syntax
- Begin each commit message with a prefix.
- Use the imperative mood.
- Separate subject line from body with a blank line.
- Add an optional message body to explain the motivation for the change and how you resolved it.
- Add an optional footer if the commit 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 50 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.