Sanat Singha is a technical writer, an editor, a blogger and a web marketing consultant. Contact him at wsigmas@gmail.com

Version Control System (VCS) can play crucial role in large, fast changing software projects. It allows multiple authors or programmers to work in synchronization and thus avoid unwanted errors and chaos.

If you are a software developer or a computer programmer working on billion dollar project VCS is the must-to-have for you. Now let us see how version control system works.

Version Control System

Most of the version control systems have a basic set up and way of action.  The set up includes 5 components –

  • Repository:  Database where files are stored
  • Server:  where repository is stored
  • Client:  computer connecting to the repository
  • Working set:  local directory of files where necessary changes are done
  • Trunk/ main:  primary location for code in the repository

Basic actions are as follows:

  • Add: while putting a file into the repository for the first time
  • Revision:  defining the version of a file v1, v2, v3 and onwards
  • Head: latest update on the repository
  • Check out: while downloading a file from repository
  • Check in:  while uploading a file to repository. The new file gets a revision number and people can check out to download the latest copy.
  • Check in message: to see what has been changed
  • Revert: ignoring local changes and reloading the latest version form the repository

One needs to learn these in detail before applying version control software.