Home > Articles > Programming

  • Print
  • + Share This
This chapter is from the book

Don't Commit Broken Code

A dangerous assumption on a project is that everyone knows not to commit code that doesn't work to the version control repository. The ultimate mitigation for this risk is having a well-factored build script that compiles and tests the code in a repeatable manner. Make it part of the team's accepted development practice to always run a private build (which closely resembles the integration build process) before committing code to the version control repository. See the later section, Run Private Builds, for additional recommendations before committing your code.

  • + Share This
  • 🔖 Save To Your Account