September
2013
25

Use Version Control for software development

Git version control

Allow me to explain shortly version control first.

 

Version control or revision control consists in the management of changes of a software project. Every change made to the code and uploaded to the version control system is tracked along with who made the change and comments explaining why they made the change.

 

There usually is a central repository where the code is stored along with all the history of those files. People connect to that repository, get the files, work on their own programming environment and then submit the changes back to the central repository. That way people always know which is the most “up to date” version, instead of having to ask everybody.

 

The “standard” way of working with a version control system is:

  1. Check out the project from the central repository
  2. Make Modifications to your code
  3. Submit the changes back to the central repository

 

You also have “branches“, which are a copy of the repository¬† in order that you can have modifications that can happen in parallel along both branches. They are very useful for new features, testing or fixes. After you verify that the branch is working correctly than you can merge the changes to the main

 

version control branches
version control branches

 

For instance, imagine you have an Instagram like website and you would like to add a new feature consisting in new types of images where the user uploads a picture and a message and it appears written over the image.… Read the rest of “Use Version Control for software development”