Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (27 loc) · 1.05 KB

section_4.md

File metadata and controls

34 lines (27 loc) · 1.05 KB

Commits

Commits are the main source of traces in the history of a project. That is why commit messages should be informative and simple. There is no ultimate way of writing a good commit message, but we have collected some ideas that are worth being followed.

Bulletpoints

  • Name of the module you changed something in
  • Simple and informative description about the content
  • Some explanations about the solutions
  • References to documents and issues
  • Signed-off-by: Lorem Ipsum <[email protected]>

References

GitHub uses a reference system that helps the developers to create connections between issues, comments and commits. Another option of GitHub is informing someone about a commit by mentioning their names.

Referencing an issue in commit message

  foo: This patch corrects the memleak in queueing in module foo.
  See here: #42

Referencing an issue in comment

  This patch #42 should be ported to version 4.2 because it is affected too.
  See PR: #52

Mentioning someone

  @daniel look at this PR #66