GitLab 之 Windows 安装并配置 Git 环境变量
下载并安装git:https://git-scm.com/downloads
1.右击我的电脑 -> 属性 ->高级系统设置->高级->环境变量
2.将git下bin文件夹的路径添加到Path里,确定保存
3.打开cmd,输入git回车
配置完成
4.设置git全局用户名和邮箱
git config --global user.name "xxxx"
git config --global user.email "xxxx.com"