Why Use Version Control?
Beyond its capability to track changes in your project, one of the most compelling reasons to use version control is for collaboration. As you will see in the next section, the way version control is set up makes it ideal for working in small and large teams. Version control also helps you write code in a more focused manner. As with functions, each check-in should have a specific purpose. When working within a version control system, you should make only changes that relate to the current check-in, which helps you stay focused. Finally, version control enables you to experiment without fear of ruining everything. The capability to roll back means that even if you do ruin everything, you can quickly get back to a good ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access