Git的下载与安装(史上最全最详细)


目录

  • Git的下载与安装(史上最全最详细)
  • git的下载
  • git的安装


git的下载

如果你还没有下载Git,可直接到git官网https://git-scm.com/)进行下载。

如图

点击Download for Windows

下载git最新镜像 download git_Bash


选择独立安装版,64位

下载git最新镜像 download git_git_02

git的安装

步骤 1. 双击运行安装

下载git最新镜像 download git_git_03

步骤 2. 点击运行

下载git最新镜像 download git_下载git最新镜像_04


Information

直接点击Next

下载git最新镜像 download git_Gitee_05


步骤 3. 选择下载路径

Select Destination Location

下载git最新镜像 download git_Gitee_06


步骤 4. 根据需要选择部件(全选)

Select Components

下载git最新镜像 download git_Gitee_07


Select Start Menu Folder

下载git最新镜像 download git_Bash_08


步骤 5. 选择 Git 默认的编辑器

下载git最新镜像 download git_github_09


步骤 6. 新存储库中初始分支名称的调整

Adjusting the name of the initial branch in new repositories

下载git最新镜像 download git_Bash_10


步骤 7. 配置 PATH 环境

下载git最新镜像 download git_Gitee_11


步骤8.选择SSH客户端,点击“Next”。

下载git最新镜像 download git_Gitee_12

步骤 9. 选择 HTTPS 传输后端

下载git最新镜像 download git_git_13


步骤 10. 配置行结束转换

Configuring the line ending conversions

下载git最新镜像 download git_下载git最新镜像_14


步骤 11. 配置终端模拟器来与 Git Bash 一起使用

Configuring the terminal emulator to use with Git Bash

下载git最新镜像 download git_Bash_15


步骤 12. 配置 git pull 的默认操作

Choose the default behavior of git pull

下载git最新镜像 download git_git_16


步骤 13. 选择凭证帮助器

Choose a credential helper

下载git最新镜像 download git_Gitee_17


步骤 14 配置额外的特性

Configuring extra option

下载git最新镜像 download git_github_18


步骤 15. 额外的实验配置选项

Configuring experimental options

下载git最新镜像 download git_github_19


步骤 16. 安装中

下载git最新镜像 download git_Gitee_20


步骤 17. 安装完成

下载git最新镜像 download git_下载git最新镜像_21


步骤 18. 检查是否安装完成

**在桌面任意位置按鼠标右键**会出现如下图所示 Git GUI Here 和 ==Git Bash Here==选项

注意:此项与步骤4中是否勾选Windows Explorer integration下的 Git GUI Here 和 Git Bash Here 相对应 若之前没有勾选这两个选项,请进行往下的一个步骤进行检测

下载git最新镜像 download git_git_22


按下键盘键 win+R 调出运行框后按 cmd 调出命令提示符,输入 git --version 出现如下图相应版本信息号,则证明Git已安装完成

下载git最新镜像 download git_Bash_23