Revision control, also known as version control, is one of the most important necessities when it comes to programming. Version control is exactly what it sounds like. It’s the process of keeping previous versions of code. By having different versions, one can log changes, updates, and problems of the code. This is particularly helpful when doing large edits to the code. It’s easy to mess up an entire program and not be able to figure out where the problem is. With version control, one can compare versions or even revert to an older working version.
Version control is also beneficial in a teamwork environment. If team member A has done changes to the program but team member B has an older version of the program, B can simply compare and update B’s program. Another scenario would be if both A and B update their own codes and want to combine their work, it is easy for them to see where changes were made between the two versions.
A simple way to grasp the concept of revision control is Google Drive. All Google documents are automatically saved in the Google Drive. With every change made in the document, it is logged and saved to a new version. By simply viewing the document’s history, one can edit and view older versions of the current document.
For programmers, there are a variety of version control systems, but GitHub tends to be one of the most popular. This website offers a free open source repository, or one can pay to have a private source. ![]() |
http://homes.cs.washington.edu/~mernst/advice/version-control-fig2.png |
Yeates, S. (2005, January 1). OSS Watch provides unbiased advice and guidance on the use, development, and licensing of free software, open source software, and open source hardware.. What is version control? Why is it important for due diligence?. Retrieved April 27, 2014, from http://oss-watch.ac.uk/resources/versioncontrol