前置
若已配置忽略
git config --global user.name "hechaojie"
git config --global user.email "275070023@qq.com"
1.在git上新建项目
2.上传本地代码
git init
git remote add origin https://git.oschina.net/hecj/eyaoyun.git
git pull https://git.oschina.net/hecj/eyaoyun.git
git add *
git commit -m "first commit"
git push -u origin master