Github或者码云上新建项目
$ git init $ git add * $ git remote add origin https://gitee.com/demo/demo.git $ git pull $ git commit -m "新建项目demo-base" $ git push -f origin master
Git提交新项目
原文:https://www.cnblogs.com/itplay/p/9923868.html