Git安装教程
1. 到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 ”。只有在了解其含义后才使用此选项。