What is git, why should git (a)

git is a distributed version control system open source. Focus is on version control system (version control system).
git official documents Address: https://git-scm.com/book/zh/v2/

First, what is the version control?

Version control is a record of one or several file content changes, for future reference system-specific version of the revision.
So what is version?
In life, we should have heard such and such a book has a new version. 11 Apple came out, what should for a mobile phone. New books, new phone for the previous book, it is the new version, the previous version is old.
In git the popular point that: to modify the file, save and submit the form a version. It is a subjective exercise, you modify or development stage completed and submitted that the formation of a version. Each time you submit a release form .
It is a series of git version control, and distributed.

So what is distributed?
Distributed opposite is centralized. Centralized that all the files are stored on a single machine, this machine is broken, it is all gone.
All documents distributed is not in one. In git, you git repository is a full function on the computer system that can perform various operations can also be synchronized to the server on github.

Probably we understand so much, being sufficient.

Second, how to install git

Download the official website address: https://git-scm.com/downloads
official website provides Mac OS X, version of the software Windows, Linux / Unix world's three major operating systems, select the appropriate installation.

Third, why should learn git commands

For users accustomed to windows, you may not prefer to type commands. But learning is not an end ah git command, the command is to learn and understand the operational processes familiar with git, and
understand the principles of operation git is how to version control. As long as a final understanding with development tools git operation, or graphical tools, command or are alone.
We must begin to start learning from the git command, ultimately to be developed in collaboration with team members in the team.

Reprinted from: Excellent known code  https://www.javaidea.cn/topic/1232.html

Guess you like

Origin www.cnblogs.com/beenupper/p/12526781.html
Git