Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Totally - write commit messages with every one :) I was just wondering what makes a sensible commit - should it be a big job with 200 new lines of code, or a simple 2 line change/bug fix. I sometimes feel that I commit too often. Commented Sep 25, 2011 at 20:11
  • 3
    A single bug fix is for sure a single commit in my world. 200 new lines sounds a little much for me, I would commit when I have something working (and unit tested) to know I have committed the latest working codebase all the time. Commented Sep 25, 2011 at 20:16
  • 1
    I'd suggest to commit even more often. Some commits get no message, except for "fixup XXX" since they only contains small fixes for other commits not yet pushed. Commented Oct 15, 2011 at 13:42