Re: git commit messages

2009/4/22 Vincent Untz <vuntz gnome org>:
> Hey,
>  - First line (the brief description) must only be one sentence and
>    should start with a capital letter unless it starts with a lowercase
>    symbol or identifier. Don't use a trailing period either. Don't exceed
>    72 characters.

Sorry for revamping an old thread but I kept wondering why vim
highlighted only first 50 characters of my subject lines, so I checked
git-commit manpage. It suggests less than 50 characters for the first
line, is there any particular reason why we shouldn't follow git

>  - When committing code on behalf of others use the --author option, e.g.
>    git commit -a --author "Joe Coder <joe coder org>" and --signoff.

A mention for git-format-patch + git-am workflow could be worth here.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]