Chinaunix首页 | 论坛 | 博客
  • 博客访问: 104331
  • 博文数量: 27
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 129
  • 用 户 组: 普通用户
  • 注册时间: 2014-11-12 20:32
文章分类

全部博文(27)

文章存档

2016年(4)

2015年(23)

我的朋友

分类: Windows平台

2016-08-19 15:23:00

转载于:http://my.oschina.net/OutOfMemory/blog/294133

elipse提交代码到github的步骤

1. https://github.com   new repository

2.在eclipse中new project  比如:Test项目

3.右击"Test"->Team->share project...  ->select a repository type:Git


勾选  Use or create repository in parent folder of project


点击  Create Repository  ->  Finish
这时候打开在workspace中的Test目录会发现多了一个.git文件夹。

4.右击"Test"->Team->commit 本地提交

5.再右击"Test"->Team->Remote->Push


URI就是github上面指定的地址:

username和password就是github网站的用户名和密码

5.finish

source ref 选择 refs/heads/master  destination ref会自动填充,点击  Add Spec勾选Focus update
开始提交。

阅读(1604) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~