git本地文件传到远程服务器

在远程新建一个仓库,复制地址

1.进入需要同步的文件夹,按住shift点击右键进入powershell

2.敲git status看是否有项目没有提交到本地仓库

3.然后敲git add . 不要忘了.号

4.然后git commit - m "提交信息"

5.再次敲git status出现nothing to commit则成功

6.输入 git remote add origin https://gitee.com/BigFaceLi33/vue_shop.git

7.再输入git push -u origin master

原文地址:https://www.cnblogs.com/li33/p/13541467.html