eclipse使用git上传代码

1.选中工程右键——Team——share Progect
eclipse使用git上传代码
2.选中git——Next
eclipse使用git上传代码
3.勾选User or create repository in parent folder of project,勾选后会进入下一界面eclipse使用git上传代码
4.勾选,点击finisheclipse使用git上传代码
5.点击commit
eclipse使用git上传代码
6.选择上传的文件,选好后,点击Commiteclipse使用git上传代码
7.点击Team——Remote——Push进入上传框
eclipse使用git上传代码
8.在githup官网上复制自己创建储存库的链接(建议使用谷歌浏览器,提供中文显示页面)
eclipse使用git上传代码

9.将复制好的储存库链接粘贴在下面框中的URI中,User框输入GitHub用户名,password输入密码,填完后点击nexteclipse使用git上传代码
10.在SOurce ref中选中master,选中后点击Add Spec,之后就可以点击finish了eclipse使用git上传代码
此时再刷新GitHub中的储存库,可以看到已经提交成功
eclipse使用git上传代码