Git安装教程

这篇教程详细介绍了如何在Git官网下载适合系统的安装包,以及安装Git-2.31.1的每一步骤,包括选择安装路径、配置信息、设置Git默认编辑器、选择HTTPS传输后端、配置行尾符号转换等,直至安装成功。
摘要由CSDN通过智能技术生成

Git安装教程

1. 到Git官网下载自己系统对应的Git安装包

Git官网

2. 安装Git-2.31.1
2.1 打开安装包

在这里插入图片描述
点击Next

2.2 选择安装路径

在这里插入图片描述

2.3 勾选配置信息

在这里插入图片描述

2.4 创建开始菜单目录

在这里插入图片描述

2.5 选择Git默认编辑器

在这里插入图片描述

2.6 决定初始化新项目的主干名字

在这里插入图片描述

2.7 配置path环境

在这里插入图片描述

**Use Git from Git Bash only**

This is the safest choice as your PATH will not be modified at all.You will only be able to use the Git command line tools form Git Bash.

这是最安全的选择,因为您的PATH根本不会被修改。您只能使用 Git Bash 的 Git 命令行工具。

**Use Git from the Windows Command Prompt**

This option is considered safe as it only adds some minimal Git wrappers to your PATH to avoid cluttering your environment with optional Unix tools . You will be able to use Git from both Git Bash and the Windows Command Prompt.

这个选项被认为是安全的,因为它只向PATH添加一些最小的 Git包,以避免使用可选的Unix工具混淆环境。 您将能够从 Git Bash 和 Windows 命令提示符中使用 Git。

**Use Git and optional Unix tools from the Windows Command Prompt**

从Windows命令提示符使用Git和可选的Unix工具

Both Git and the optional Unix tools will be added to you PATH

Git和可选的Unix工具都将添加到您计算机的 PATH 中
Warning:This will override Windows tools like "find and sort".Only use this option if you understand the implications.
警告:这将覆盖Windows工具,如 “ find 和 sort ”。只有在了解其含义后才使用此选项。
2.8 选择HTTPS传
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

大圣啊丶

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值