Installation and use of Git on Linux chapter III

Source: Internet
Author: User
Tags version control system

Git was originally distributed version control software created by Linus Benedict Torvalds for more efficient management of Linux kernel development, unlike common version control tools such as CVS and subversion, which do not need server-side software support. Speed and efficiency also have a considerable degree of improvement. If you have CVS or SVN background, then the more familiar approach is client-server-side mode, all the file repositories (repository) are stored on the server, users need to install the client locally to the server on the project to get the old version, submit a new version.

Git discards this pattern, and when a user downloads a project from a remote Git repository, all the files in the project, including the version history, and the file changes are downloaded, the local git becomes a server, all commits (check-in), The proposed (check-out) will be executed on this local server, and when you have identified a change, you can merge and synchronize with the remote repository again (merge). So, the installation and configuration steps for Git are exactly the same on both the local and the server.

Git is currently the world's most advanced distributed version control System (no one). What are the characteristics of git? Simply put: high-end atmosphere on the grade!

The earliest git was developed on Linux, and for a long time git could only run on Linux and UNIX systems. Slowly, however, someone transplanted it to Windows. Now, git can work on the big platforms of Linux, Unix, Mac, and Windows.

Install git

Ubuntu Linux, with a Apt-get install git can directly complete the installation of Git, very simple. If it is a different Linux version, you can install it directly from the source. First download the source code from the GIT official website, then unzip, then enter:./configure,make,make install these commands are ready to be installed. Verify that the GIT installation is successful, and enter git on the command line. After the installation is complete, set up git

After the installation is complete, you will need the final step, and at the command line, enter:

$ git config--global user.name "Your name"

$ git config--global user.email "[Email protected]"

Because Git is a distributed version control system, every machine must be tell: your name and email address

Installation and use of Git on Linux chapter III

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.