流程
创建仓库/已有仓库
克隆到本地/在远程仓库关联
git clone 仓库地址 git remote add 仓库别名 仓库地址
写入文件,添加到暂存区,提交
git push 推送到仓库
Gitee
新建gitee仓库
![](https://file.jishuzhan.net/article/1788067185898295297/dc873b099d33bb4aee29376aa3030471.webp)
配置ssh(与github类似)
克隆成功
![](https://file.jishuzhan.net/article/1788067185898295297/a49edcf12368cbbf694b6e7b37fec3e4.webp)
![](https://file.jishuzhan.net/article/1788067185898295297/f8d9ea3087db0ac21e5317282efabec9.webp)
GitLab
![](https://file.jishuzhan.net/article/1788067185898295297/f6dfdc481cd30c286a7d07d1dcf7fb55.webp)
![](https://file.jishuzhan.net/article/1788067185898295297/f079546600e4a186815363ff4a72fd34.webp)
创建仓库/已有仓库
克隆到本地/在远程仓库关联
git clone 仓库地址 git remote add 仓库别名 仓库地址
写入文件,添加到暂存区,提交
git push 推送到仓库
新建gitee仓库
配置ssh(与github类似)
克隆成功