github 上传文件

1.删除项目  

2.  包管理器初始化  npm  init   

name  必填项   后面可一直回车

最后选择yes

3.建立本地仓储    

在git bash 中输入命令  git  init

4. 添加   git  add * 

5.  提交  git commit -m “firstcommit”

6. 克隆  git clone 

7. git add *

8.git commit -m "secondcommit"

9.git push 

原文地址:https://www.cnblogs.com/landofpromise/p/5860841.html