Skip to content

Commit message guidelines

Henne Vogelsang edited this page Mar 14, 2019 · 1 revision

Here are some tips to follow about your commits messages:

Leave a blank line between the commit subject and body

Tools like rebase could not work properly otherwise.

Mention related issues

If this commit fixes an issue you need to mention it like Fixes #1234. Ideally the reference will be added when your pull request is ready to be merged, so that we don't flood the issue with references, while working on the pull request

Give kudos to Co-authors

If the commit has more than one author tag them with Co-authored-by: name <[email protected]>.

Line length

The commit subject should not be longer than 50 characters and should not end with a period (.). Each line of the commit body should not be longer than 72 characters.

Wording

Commit messages should be written in the imperative mood, starting with a word like 'Fix' or 'Add' or 'Change'

Links

Want to know more about what people consider good commit message style? Read one