Posts

GIT and GITHUB

Image
GIT follows the Open source Distributed Version Control System. In Distributed VCS there will be two repositories. One is remote server repository and the second is each and every computer is having its own repository. Every user will have a local repository and work on this local repository. Once the work is done, user will push the repo to the Remote repository. If something happens to the remote repo server, no need to worry, every user is having the copy of repository.  So chances of recovery are more. Here majority of the work is getting completed on the local repository. So network usage is less also burden on the server is also less. DVCS is faster compared to CVCS.  Lets go ahead and do some hands on  : Let us install git on centos. # yum install git Once the installation is completed, # git --version Let us create a directory gitdemo and inside gitdemo create a directory project. # mkdir git-demo # cd git-demo # mkdir project # cd proj