Skip to main content

What is Version Control and It's uses

What is Version control ?

Version controlling is a technique to stage your code improvements in secure manner.
 There are lot of tools to control versions called as Version Control Systems. Those VCS tools helps users to manage a online repository as well as the local project files.

Version Control Systems (VCS)

VCS are the tools that help to create  and manage online repositories. VCS systems are actually work like a database. You can track all coe changes using pre saved snapshots of your whole project.

There are lot of VCS with a wide variety. some are open source and some are not. CVS, GIT, GitHub
are some of the popular VCSs. 

Benefits of using VCS.

VCS allow developers to develop and modify there existing code without facing to the risk of breaking the whole system. VCS help to eliminate the single point of failure. Developers can revert their changes if something went wrong while the upgrading process.

VCS helps to share codes and allow multiple developers to contribute to a single project remotely. And there are some awesome features to calculate the contributions of developers.

How VCS are working.

As mentioned before there are lot of VCS with various features. I personally prefer to use GitHub because it allow to create private and public repositories for free. Below I've explained the key steps of version controlling in GitHub.
  1. Create a GitHub account
  2. Create a repository on GitHub
  • You can use your IDE to create a new repository if It supports to VCS. Otherwise you should install GIT and a VCS tool like Sourcetree.
      3. Upload your project initializing files to the repository.
      4. Create a branch from develop branch for each feature you add to the system.
      5. Make sure to solve all conflicts before merging those branches to the main branch

Comments