eclipse提交项目到github
2016-04-14 09:17
525 查看
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
开始提交。
6.可以刷新网页查看提交的代码了。。。
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
开始提交。
6.可以刷新网页查看提交的代码了。。。
相关文章推荐
- eclipse 如何用DDMS给Android设备截屏
- spring+ibatis+多数据源
- java线程池实现
- java List与json的转换
- java基础总结
- hadoop eclipse plugin windows下载集合
- Java web过滤器验证登录(避免未经登录进入主页)
- Eclipse下NDK开发
- algrothm_java_base
- Eclipse启动正常,但在打开工程时会出未响应的情况
- java enum的用法详解
- java的getClass()函数
- Java对数组实现选择排序算法的实例详解
- springmvc 采用MultipartResolver进行文件上传
- Maven+Spring+Hibernate+JPA+Druid+Shiro构建Web基础平台(一)
- Java中hashCode的作用
- Struts2+jquary ajax方式返回json并解析
- Java项目打包成可执行的Jar包(FatJar 或 Maven)
- 【SSM-SpringMVC框架】SpringMVC入门
- java锁机制