1.在git上创建仓库,记下clone地址
2.把线上仓库拉到本地
git clone https://github.com/*/*.git
3.把要上传的本地项目文件全部放入本地仓库中
4.把所有文件提交到线上
git add .
git commit -m "first commit"
git push -u origin master
git clone https://github.com/*/*.git
git add .
git commit -m "first commit"
git push -u origin master