title: DVCS - How often and when to commit changes
body: <p>There is another <a href="https://stackoverflow.com/questions/107264/how-often-to-commit-changes-to-source-control">thread</a> here on StackOverflow, dealing wih how often to commit changes to source control. I want to put that in the context of using a DVCS like git or mercurial.</p>
  
  <ol>
  <li><p>How often and when do you commit? </p></li>
  <li><p>Do you only commit changes when they
  build correctly?</p></li>
  <li><p>How often and when do you push your changes (or file a pull request or similar)?</p></li>
  <li><p>How do you approac developing a complex feature / doing a complex refactoring requiring many places to be touched? Are "private commits" that won't build ok? When finished, do you push them also to the master repository or do you bundle all your changes into a single changeset before pushing?</p></li>
  </ol>