本机安装Git客户端
配置git
首次使用git提交代码,需要先配置user.name 和 user.email
打开cmd,输入如下命令
Git 全局设置:
git config --global user.name “yourName” //注意,–和global之间没有空格
git config --global user.email “yourName@gmail.com”
将gitlab项目拉取到本地git仓库
打开想要存放项目的文件夹,点击git bash here
VS Code打开刚刚拉取的文件
1.打开项目
2.新建文件