1.电脑端已经安装好了git
2.在cmd中进入到你的代码目录
3. 初始化
git init
4.将当前项目添加到仓库中
git add .
5.将文件commit到仓库
git commit -m “注释"
6.在github上创建仓库
7.将本地仓库关联到github上
git remote add origin https://github.com/easyboot/InfusionBagLabel
8.上传之前,进行pull动作
git pull origin master
9.上传代码到github中
git push -u origin master