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: CONTRIBUTING.md
+39Lines changed: 39 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,3 +169,42 @@ Support branches? [support/]
169
169
Version tag prefix? [] eXist-
170
170
Hooks and filters directory? [.git/hooks]
171
171
```
172
+
173
+
174
+
## Commit Messages
175
+
Commits to eXist-db by developers *should* follow the Git [Commit Guidelines](https://git-scm.com/book/en/v2/Distributed-Git-Contributing-to-a-Project#_commit_guidelines). In addition the summary line of the commit message *must* be prefixed with a label from our controlled list that helps us to better understand the commit and also to generate Change Logs.
176
+
177
+
### Commit Labels
178
+
Our controlled list of commit labels that should be prefixed to each commit summary is:
179
+
180
+
*`[feature]`
181
+
This should be used when a commit adds a new feature.
182
+
*`[bugfix]`
183
+
This should be used when a commit addresses a bug or issue.
184
+
*`[refactor]`
185
+
This should be used when a commit is simply refactoring existing code.
186
+
*`[optimize]`
187
+
This should be used when a commit is refactoring existing code to provide a performance and/or memory optimization.
188
+
*`[ignore]`
189
+
This should be used when code is cleaned up by automated means, e.g. reformatting.
190
+
*`[doc]`
191
+
This should be used for documentation.
192
+
*`[test]`
193
+
This should be used when a commit solely contains changes to existing tests or adds further tests.
194
+
*`[ci]`
195
+
This should be used when a commit solely makes changes to CI configuration.
196
+
197
+
In addition any commit that addresses a GitHub issue, should have an additonal line in its commit after the summary and before any fuller explaination that takes this form:
0 commit comments