如果项目没有内容:
echo "# 项目名称" >> README.md
git init //初始化
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/yezisuper/shine.git //项目地址
git push -u origin master //提交主干
如果已经有内容:
git remote add origin https://github.com/yezisuper/shine.git
git push -u origin master