简单粗暴,直接将本地代码上传到github
1.git add .
2.git commit -m "提交"
3.git pull +github上的项目地址
4.git push origin master