一、下载慢:官网:https://git-scm.com/ 或百度搜索Git
二、下载快:
CNPM Binaries Mirrorhttps://registry.npmmirror.com/binary.html?path=git-for-windows/
滚动到底部,下载最新版
三、安装
下一步操作
注意:
1、选择指定路径
2、选择默认编辑器,我选的是VSCode
除此之外,一路下一步,安装完成后,在左下角windows菜单中看到下图,就安装完了
三、将Git添加到windows环境变量中
四、Gut Bash Here基本命令输入窗口
五、配置用户名和邮箱
1、配置用户名
git config --global user.name "csj"
2、配置邮箱
git config --global user.email "424658155@qq.com"
3、查看配置是否正确
git config -l