(1)选择本地项目文件夹,右键,选择git bash here
(2)git init :初始化本地仓库
(3)git remote add origin https://gitee.com/xxx/xxx.git :添加远程仓库
(4)git add . :(注意add空一格再加一个点)缓存
(5)git commit -m "备注" :添加代码注释
(6)git push origin master :上传至远程仓库
(1)选择本地项目文件夹,右键,选择git bash here
(2)git init :初始化本地仓库
(3)git remote add origin https://gitee.com/xxx/xxx.git :添加远程仓库
(4)git add . :(注意add空一格再加一个点)缓存
(5)git commit -m "备注" :添加代码注释
(6)git push origin master :上传至远程仓库