Git下载安装
下载路径:https://git-scm.com/download/win
国内的镜像网站大多下载缓慢,这里提供一个比较快的镜像网站
https://npm.taobao.org/mirrors/git-for-windows/
下完成之后
安装:
我这里选择 Git-2.24.0.2-64-bit.exe 版本安装
1, 双击 Git-2.24.0.2-64-bit.exe 安装程序
2,Next
3,
4,
5,
6,
设置环境变量(选择使用命令行环境)
Use Git from Git Bash only-->>git自带的命令行工具
Git from the command line and also from 3rd-party software-->>使用Windows系统的cmd命令行工具
Use Git and optional Unix tools from the Command Prompt-->>上面二者同时配置,但是注意这样会将windows中的find.exe和sort.exe工具覆盖,如果不懂这些尽量不要选择
7,
choosing https transport backend:选择https传输后端
use the openssl library:使用OpenSSL库
use the native windows secure channel library:使用本机的安全库
8,配置结束转换的行
Checkout Windows-style,commit Unix-style line endings:(Windows系统安装选择)检查换行格式将windows格式的换行转换为unix格式的换行在进行提交
Checkout as-is,commit Unix-style line endings:(Unix系统安装选择)检查换行格式将原来不管什么格式的换行一律转换为unix格式的换行在进行提交
Checkout as-is,commit as-is:(非跨平台项目安装选择)不进行格式转换,检查出什么格式就提交什么格式
9,配置终端模拟器以使用Git Bash
10,
11,launch finish to exit setup: 启动完成以退出安装程序
view relese notes:查看说明
安装完成