Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Git commit messages

On 22 Jun 2011, at 15:44, Wim Jongman <wim.jongman@xxxxxxxxx> wrote:

> The problem is that you don't exactly know when the change is done and therefore have to type the same message over and over again in multiple commits.

The time when you know it's done is at the end. So only type the detailed message in there. 

For other work in progress messages you can either leave the message blank or trivial and do "commit amends" to update the commit as you go, or do a rebase/squash to condense them down into a single message prior to pushing to the remote repository. 

The issue isn't that every commit needs a detailed message, but that commits pushed to the remote repo do need them. Much like you would do a bunch of work and then attach a patch in bugzilla - the interim work needn't be of high quality but the patch submitted should be (and have more detail than "fixes bug")

Alex

Back to the top