Git基本工作流程
详细流程
git config --global user.name 名字 git config --global user.email 邮件
git init
git add *
这里是把所有文件保存在暂存区
git commit -m "init gshop"
本地仓库是gshop

git remote add origin https://github.com/ChengShasha/171208_gshop.git
git push origin master
自动提示登录github界面,输入账号和密码,接着登录
原文:https://www.cnblogs.com/cccaroline/p/13188049.html