eclipse上传项目到github
一、创建一个本地仓库
1、右键项目>Team>share Project
2、点击Use or create repository in parent folder of project > Create Repository > Finsh
二、创建github仓库
1、点击new respository
2、填写仓库名称,然后直接创建就行了。
3、创建完成后会看到如下界面
三、上传项目到本地仓库
1、右键项目->Team->Commit
1:需上传的文件
2:随便填
3、点击 Commit and Push
四、上传项目到github
1、右键项目>Team>remote>Push to another Repository
2、填写github地址(创建GitHub之后的那个地址)和github账号密码>next
2、第一步选择master,第二步点击add Spec
3、点击next之后出现如下界面,点击Finish
4、可以看到上传成功