mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
Meta: Add note about writing commit subjects in the imperative mood
This commit is contained in:
parent
3e603b2f32
commit
aea709de31
Notes:
sideshowbarker
2024-07-18 18:09:51 +09:00
Author: https://github.com/awesomekling
Commit: aea709de31
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,8 @@ Nobody is perfect, and sometimes we mess things up. That said, here are some goo
|
||||||
* Split your changes into separate, atomic commits.
|
* Split your changes into separate, atomic commits.
|
||||||
* Make sure your commits are rebased on the master branch.
|
* Make sure your commits are rebased on the master branch.
|
||||||
* Wrap your commit messages at 72 characters.
|
* Wrap your commit messages at 72 characters.
|
||||||
* The first line of the commit message should have the format "Category: Brief description of what's being changed". The "category" can be a subdirectory, but also something like "POSIX compliance" or "ClassName". Whatever seems logical.
|
* The first line of the commit message is the subject line, and should have the format "Category: Brief description of what's being changed". The "category" can be a subdirectory, but also something like "POSIX compliance" or "ClassName". Whatever seems logical.
|
||||||
|
* Write the commit message subject line in the imperative mood ("Foo: Change the way dates work", not "Foo: Changed the way dates work")
|
||||||
* Write your commit messages in proper English, with care and punctuation.
|
* Write your commit messages in proper English, with care and punctuation.
|
||||||
* Squash your commits when making revisions after a patch review.
|
* Squash your commits when making revisions after a patch review.
|
||||||
* Add your personal copyright line to files when making substantive changes. (Optional but encouraged!)
|
* Add your personal copyright line to files when making substantive changes. (Optional but encouraged!)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue