VSCode使用Gitee
VSCode使用git
1. 电脑安装下载 Git软件
下载网址:https://git-scm.com/download/win
-
下载自己电脑需要的版本
一般都是 Windows64位,选择后下载
-
下载完成之后安装软件
安装路径 – 安装到自己需要的盘符就可以
在这一步需要添加到左边
剩下的全部默认 Next
-
配置自己的Git信息
打开base界面
然后配置相关的信息
配置用户名
git config --global user.name “name”
配置邮箱
git config --global user.email “name@mail.com”
配置密码
git config --global user.password “password”
2. 配置到 VSCode
新建一个文件夹 进入文件夹
右键点击更多选项
选择 Git bash
添加远程仓库
git remote add origin https://gitee.com/xxxxxx/xx.git