Skip to content

Commit

Permalink
docs: update hacking with explanation for exclamation point (#226)
Browse files Browse the repository at this point in the history
* docs: update hacking with explanation for exclamation point

* Update HACKING.rst

Co-authored-by: Alex Lowe <[email protected]>

---------

Co-authored-by: Alex Lowe <[email protected]>
  • Loading branch information
mattculler and lengau authored Jul 18, 2024
1 parent 76fac3f commit a90bcf7
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions HACKING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ Commits

Commit messages are based on the `conventional commit`_ style::

<type>(<optional scope>): <description>
<type>[(optional scope)][!]: <description>

<optional body>
[optional body]

<optional footer>
[optional footer]

The commit is divided into three sections: a header, body, and footer.

Expand Down Expand Up @@ -297,6 +297,16 @@ class name.
If a commit affects many areas of the codebase, the scope should be omitted;
``many`` is not an accepted scope.

Breaking changes
################

If an exclamation point (``!``) is inserted after the type/scope, this means
that the commit introduces a breaking change. Including one or more commits
with an exclamation point in a release will trigger a major version increment.

Breaking changes may also be indicated by including the words ``BREAKING CHANGE``
in the commit footer.

Description
###########

Expand Down

0 comments on commit a90bcf7

Please sign in to comment.