Guidelines for Commit Messages

Those are only recommended guidelines and maintainers can feel free to adopt other guidelines.

Example

tag: Short explanation of the commit

Longer explanation explaining exactly what's changed, whether any
external or private interfaces changed, what bugs were fixed (with bug
tracker reference if applicable) and so forth. Be concise but not too brief.

Details

Linking to bugs

This is not part of the guidelines yet.

It makes sense to have a consistent way to refer to bugs in commit messages. There are several proposals so far:

When a commit closes a bug, the commit message can contain this information in a parsable way. For example, with the short text proposal: "Closes: bgo#12345".

Git/CommitMessages (last edited 2010-09-20 10:55:39 by VincentUntz)