Git + windows installation tutorial (a)

A: What Git is?

  Git is the world's most advanced distributed version control system.

II: The main difference between the SVN and Git?

  SVN is centralized version control system, the repository is focused on the central server, and work time, are used in their computers, so first of all from a central server where to get the latest version, and then to work, finish , we need to finish the job on their own to a central server. Centralized version control system must be networked to work, if it can, the bandwidth is large enough in LAN, fast enough, if in the Internet, if Suman, then wonder.

  Git is a distributed version control system, then it has no central server, each person's computer is a complete repository, so that when things do not need to work, because the versions are on your own computer. Since everyone's computer has a complete repository, how much how individuals collaborate it? For example, to change their own files on the computer A, the others are changed A file on the computer, then, you just need to give each other their own changes pushed between the two, we can see each other's changed.

1, Git official website to download https://git-scm.com/downloads/

2. Double-click to start the installation Git-2.23.0-64-bit.exe

Description:

(1) Icon Component (Addition icons): Select whether to create a desktop shortcut.

(2) desktop browser (Windows Explorer integration): Method explore the source code, using bash or using Git GUI tool.

(3) associated with the configuration file: git configuration file is associated, the configuration files are text editor style.

(4) associated with a shell script file: Bash script file is associated command-line execution.

(5) the use of TrueType Code: TruthType whether to use the command line coding, coding is the universal coding developed by Microsoft and Apple.

 

Start menu shortcuts directory: Directory name Set the Start menu shortcut, you can also choose to create a shortcut menu does not start.

 

Set Environment Variables

Choose what kind of command-line tools, under normal circumstances we default to use Git Bash:

(1) Git comes: using Git comes with Git Bash command-line tool.

(2) the system comes CMD: using the Windows system's command-line tools.

(3) both have: configure the two above, but note that this will be windows in find.exe and sort.exe tools covering, you do not know if these try not to choose

 Omitted: go all the way next

 

3. Installation complete

Learn from the original address: https: //www.cnblogs.com/smuxiaolei/p/7484678.html

 

Guess you like

Origin www.cnblogs.com/xiaozhaoboke/p/11403940.html