Skip to content

Instantly share code, notes, and snippets.

@bitops
Created February 1, 2012 21:49
Show Gist options
  • Select an option

  • Save bitops/1719692 to your computer and use it in GitHub Desktop.

Select an option

Save bitops/1719692 to your computer and use it in GitHub Desktop.
From Linus: what a good commit message looks like.
Header line: explaining the commit in one line
Body of commit message is a few lines of text, explaining things
in more detail, possibly giving some background about the issue
being fixed, etc etc.
The body of the commit message can be several paragraphs, and
please do proper word-wrap and keep columns shorter than about
74 characters or so. That way "git log" will show things
nicely even when it's indented.
Reported-by: whoever-reported-it
Signed-off-by: Your Name <youremail@yourhost.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment