Tuesday, October 27, 2015

Git At A Glance


Git Introduction:
Git is a version control software, which means it manage changes to a project without overwriting any part of that project. Git helps to manage code changes so that different different developer can get the latest changes. By concept, it similar to other version control software's i.e. CVS and SVN. But the difference is git can manage offline but other cann't.

Let's checkout more....
Let's assume you and a coworker are both updating pages on the same website. You make your changes, save them and upload them back to website. So far, so goooooooooood

The problem comes when your coworker is working on the same page as you at the same time. This cause, one of you is about to overwrite the changes of other.

Let us see the basic workflow of git:
  1. We modify a file from the working directory.
  2. We add these files to the staging area.
  3. We perform commit operation that moves the files from the staging area. After push operation, it stores the changes permanently to the git repository.  


Environment Setup:


No comments:

Post a Comment