如何关联VScode和Github/Gitee
如何关联VScode和Github/Gitee
创建一个新的空仓库
Github
Gitee
进行Git全局配置
git config --global user.name "xxx"
git config --global user.email "xxx@xx.com"
创建Git仓库
如果还没有仓库 :
mkdir myProject cd myProject git init git commit -m "first commit" git remote add origin https://xxx.com/xxx/xxx git push -u origin master
如果已经有仓库 :
cd myProject git remote add origin https://xxx.com/xxx/xxx git push -u origin master