1、首先安装git和vs code
2、登录gitee账户,添加本电脑的ssh公钥;
.ssh/id_rsa.pub
文件内容获取公钥;3、新建一个文件夹,然后输入命令:git init
去初始化一个git仓库
4、输入命令:git add remote hostname url(eg: git remote add origin git@github.com:michaelliao/learngit.git)
去连接远程仓库
4、输入命令:git pull hostname branchname(eg: git pull orign master)
去拉取仓库的文件到本地仓库
VisualStudio Code如何连接gitee上的仓库
原文:https://www.cnblogs.com/EricShen/p/13648703.html