by shigemk2

当面は技術的なことしか書かない

97 Things Every Programmer Should Know 68 Put Everything Under Version Control

PUT EVERYTHING IN ALL YOUR PROJECTS UNDER VERSION CONTROL.

Once your project is under version control, you can obviously track its history, see who wrote what code, and refer to a file or project version through a unique identifier.

A version control system minimizes friction among developers.

Once you've seen the beauty of working with a version control system, following a couple of rules will make you and your team even more effective:

  • Commit each logical change in a separate operation.
  • Accompany each commit with an explanatory message.
  • Finally, avoid committing code that will break a project's build, otherwise you'll become unpopular with the project's other developers.