GIT - 1

 Introduction of GIT

====================


software configuration management

 

or

source code management


a) Centralised version control system

b) Distributed version control system


CVCS

----

drawbacks:

---------

1) It is not locally available, meaning you always need to be connected to a network to perform any action.

2) since everything is centralised, if central server gets failed, you will lose entire data. Eg- SVN tool.


DVCS

----

In distributed version control system, every contributor has a local copy or 'clone' of the main repository. I.e. everyone maintains a local repository of their own which contains all the files and metadata present is Main repository.


Difference between CVCS and DVCS


CVCS

-----

1) In Cvcs, a client need to get local copy of source from server, do the changes and commit those changes to central source of server.

2) CVCS  system are easy to learn and setup.

3) working on braches is difficult in cvcs developer often  faces merge conflict.

4) CVCS system do not provide offline access.

5) CVCS is slower as every command need to communicate with server.

6) If CVCS server is down, developers can not work.



DVCS

=====

1) In DVCS, each client can have a local branch as well and have a complete history on it. Client need to push the changes to branch which will then be pushed to serve repository.

2) DVCS systems are diffcult for beginners multiple commands needs to be remembered.

3) Working on branches is easier in DVCS Developers faces les conflict.

4) DVCS system are working fine on offline mode as a client copies the entire repository on their local machine.

5) DVCS  is faster as mostly user deals with local copy without hitting server everytime.

6) if DVCS server is down,developer can work using their local copies.


Comments

Popular posts from this blog

GIT - 3

Docker - 6