git getting Started----git and SVN differences

Source: Internet
Author: User
Tags version control system

A. What is Git? Git is currently the world's most advanced distributed version control system

two. Basic KnowledgeCentral SCM (software Configuration Management)
    • Server: Single Database
    • Client: working directory, status

No-center SCM
    • Anyone can be a server
    • Working directory is also a warehouse
    • No network connection required for operation


three. What are the similarities and differences between SVN and Git? Same as:

Record all changes to the file. This is for a large number of changes, but finally feel that the original version of the code is good, can have records back to the past, instead of using Copy of the old code saved as a file, and then some time from a large number of files to find the history you need, version control to help us do the history of storage, It is easy to query and roll back to a previous version.


Different:There are a number of differences between git and other version control systems, such as CVS, and git itself cares whether the integrity of the file changes, but most CV s or Subversion The system cares about the differences in file content. So git is more like a filesystem that gets data directly on this computer without having to connect to the host side to get the data.
git is a version control tool for Linux kernel development. Unlike a centralized version control tool like CVS,Subversion (SVN), it uses a distributed repository approach that does not require server-side software to operate version control, making it extremely convenient to publish and communicate source code. Git is fast, which is naturally important for large projects such as the Linux kernel. The best of Git is its combined tracking (merge tracing) capability.
SVN is a centralized or central version of the control system, the repository is centrally placed in the central server, and work, with their own computers, so the first to get from the central server where the latest version, and then work, after the completion of the need to do their own work to push to the central server. Centralized version control system must be networked to work, if the LAN can also, the bandwidth is large enough, fast enough, if under the Internet, if the speed is slow, I wonder. Git is a distributed version control system, then it does not have a central server, everyone's computer is a full version of the library, so that the work of the time will not need to network, because the version is on their own computer. Since everyone's computer has a full repository, how do people collaborate? For example, they changed the file a on the computer, the other people also on the computer changed the file a, at this time, you two only need to put their changes to each other, you can see each other's changes.


References:Https://zh.wikipedia.org/zh-cn/Githttp://rogerdudler.github.io/git-guide/index.zh.html

git getting Started----git and SVN differences

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.