Practice: Continuous Integration
  • Check in early and often

  • Don't wait for just one more fix

  • Don't check in broken code

Notes:

Whenever you fix or enhance something, check it in. Even if you are working on a collection of related fixes, check in each fix separately if you can.

Make sure all the unit tests run before checking in. I can't tell you the number of times I haven't done this! It doesn't take but a few minutes and it doesn't throw a monkey wrench into somebody else's debugging session.