InterviewSolution
| 1. |
What is the difference between git and svn? |
||||||||||||||
|
Answer» GIT is a distributed version control system where each developer gets its own local copy of the remote REPOSITORY. While SVN comes under centralized version control. Centralized implies a client-SERVER relationship. There is one main repository (repo) on a server, and every working copy clones and COMMITS to this server. Decentralized is the opposite: there is no “central” repo. You can not commit in SVN if you are not connected to the central repo so network connectivity is mandatory for SVN for any commit. With Git, you do not have this issue. Your local copy is a repository, and you can commit to it and get all the benefits of source control. When you regain connectivity to the main repository, you can commit against it.
|
|||||||||||||||