Chapter 2 Git Installation

Official website address: Git

To view the GNU agreement, you can directly click Next.

Select the Git installation location, require a non-Chinese directory without spaces, and then go to the next step.

Git option configuration, recommended default settings, and then the next step.

Git installation directory name, do not need to modify, just click Next.

Git's default editor, it is recommended to use the default Vim editor, and then click Next.

The default branch name setting, choose to let Git decide, the default branch name is master, next step.

Modify the environment variables of Git, choose the first one, do not modify the environment variables, only use Git in Git Bash.

Select the background client connection protocol, select the default value OpenSSL, and then the next step.

Configure the newline character at the end of the line of the Git file, Windows uses CRLF, Linux uses LF, select the first one automatically

Convert and continue to the next step.

Select the Git terminal type, select the default Git Bash terminal, and proceed to the next step.

Select the mode of Git pull merge, select the default, and then the next step.

Select Credential Manager for Git, choose the default cross-platform credential manager, and then Next.

Other configurations, select the default settings, and then the next step.

Laboratory function, the technology is not yet mature, there are known bugs, do not check, and then click Install in the lower right corner

button to start installing Git.

Click the Finsh button, Git installation is successful!

Right-click anywhere and select Git Bash Here in the right-click menu to open the Git Bash command line terminal.

Enter git --version in the Git Bash terminal to view the git version, as shown in the figure, indicating that Git is installed successfully.

Guess you like

Origin blog.csdn.net/wzw_wwl/article/details/126221691