Why Version Control System (VCS)

Why version control?

Scenario 1:

  • You change “just one thing”
  • Your program breaks
  • You change it back
  • Your program is still broken — why?

Has this ever happened to you?

Why version control? (part 2)

  • You made a lot of improvements last night…
  • You need to turn in your program now
  • Has this ever happened to you?

Version control for teams

Scenario:

  • Your co-worker changes another part — it works
  • You put them together — it doesn’t work
  • Some change in one part must have broken something in the other part
  • What were all the changes?

Teams (part 2)

Scenario:

  • Your co-worker makes a number of differentimprovements to the sameclass

How can you merge these changes?

Version control systems (VCS)

A version control system (often called a source code control system) does these things:

  • Requests comments regarding every change
  • Allows “check in” and “check out” of files so you know which files someone else is working on
  • Displays differences between versions

Benefits of version control

1. For working by yourself:

  • Gives you great support for different versions (standalone, web app, etc.) of the same basic project

2. For working with others:

Blogger | FullStack Developer 💻 | UI/UX | Undergraduate 🎓 |

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store