You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Documentation/Appendix/CommitMessage.rst
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Since we strive to automate a lot of things the commit message plays an importan
15
15
Git and related tools work best when following a certain guideline for commit messages. A deeper `introduction on git revision log conventions <http://tbaggery.com/2008/04/19/a-note-about-git-commit-
16
16
messages.html>`_ is helpful to understand the scope.
17
17
18
-
Here is an example of a final commit message. The change-id will be generated by the commit-hook. Do not set the change-id on your first commit!
18
+
Here is an example of a final commit message. The `Change-Id`` will be generated by the commit-hook. Do not set the `Change-Id`` on your first commit!
19
19
20
20
.. code-block:: none
21
21
@@ -104,14 +104,18 @@ Additionally other flags **should be added** under certain circumstances:
104
104
about security vulnerabilities in a public place such as Slack or push patches
105
105
that disclose information about vulnerabilities.
106
106
107
-
- Keep the whole line below 52 characters if possible, but below 80 in any case
107
+
- Keep the whole line below 52 characters if possible, but below 72 in any case
108
108
109
109
.. sidebar:: The seven rules of a great Git commit message
110
110
111
111
https://chris.beams.io/posts/git-commit/#seven-rules is an excellent guide about how to write good subject lines.
112
112
113
-
- It is *very important* that the message is written in **imperative mood**; that means that it must be written as if you are giving a command or an instruction, since a commit is a set of instructions for how to go from a previous state to the new state and the commit message should describe this process. This convention matches up with generated commit messages by commands like git merge and git revert.
114
-
If in doubt, the *golden rule* to follow is very simple: Review your subject lines, and apply the following words in front of it:
113
+
- It is *very important* that the message is written in **imperative mood**; that means that it must be written as
114
+
if you are giving a command or an instruction, since a commit is a set of instructions for how to go from a previous
115
+
state to the new state and the commit message should describe this process. This convention matches up with generated
116
+
commit messages by commands like git merge and git revert.
117
+
If in doubt, the *golden rule* to follow is very simple: Review your subject lines, and apply the following words in
118
+
front of it:
115
119
116
120
``if applied, this commit will **"your subject line here"**``
117
121
@@ -216,11 +220,11 @@ Relationships
216
220
.. code-block:: text
217
221
:caption: commit message
218
222
219
-
Releases: main, 10.4, 9.5
223
+
Releases: main, 12.4, 11.5
220
224
221
225
Always make sure the target version does indeed exist, when in doubt, as in the coredev channel on Slack_.
222
226
223
-
4. `Depends`
227
+
4. `Depends:`
224
228
For TYPO3 **documentation patches**.
225
229
Refer to the corresponding TYPO3 Core patch:
226
230
@@ -309,7 +313,7 @@ should have been:
309
313
310
314
.. note::
311
315
312
-
Please note that in this case the subject of the commit to revert was poorly written,too! This required some additional adjustment..
316
+
Please note that in this case the subject of the commit to revert was poorly written,too! This required some additional adjustment..
0 commit comments