GitHub integrate with Eclipse
来源:互联网 发布:举报网络电子邮箱地址 编辑:程序博客网 时间:2024/06/05 10:15
【软件使用】GitHub使用教程for Eclipse
1.下载egit插件
打开Eclipse,git需要eclipse授权,通过网页是无法下载egit的安装包的。在菜单栏依次打开eclipse→help→install new software→add,Name栏中输入egit,location栏中输入 http://download.eclipse.org/egit/updates/ ,点击ok进行下载。下载完成后会提示重启eclipse;如果已经有了就不需要了。
2、在Eclipse中生public key, 并添加到GitHub Repository中。
在菜单栏依次打开window → preference → general → network connection → SSH2 → Key Management → generate RSA Key... → apply → save private key...
生成 SSH 的 public key在GitHub中通过:edit your profile -> ssh key -> Add SSH Key 添加SSH Key, 把上面生成的 public key 拷贝到这里,保存。
3、导入现有工程
打开一个工程,在工程名上右键,点击team→share project,将你的工程另外导入到一个git文件夹。
4、提交
在项目上点右键–>team–>commit。commit是commit到本机的git库,而push才是同步到github。
在弹出窗口输入你的GitHub 用户名和邮箱
提交文件到本地,并推送到服务器
然后需要输入你GitHub上项目的仓库地址,没有的话需要新建项目,步骤如下:
输入上面的URL地址,以及你的用户名和密码
然后等待Eclipse帮你把项目提交就行了
5、提交时可能会出现不能连接的错误,请参考
dust项目托管github过程
使用命令行生成一个本地的ssh,建立连接后再用eclipse提交代码。
详细的egit使用手册(图文)
- GitHub integrate with Eclipse
- Eclipse Integrate with Python
- Integrate eclipse with python
- integrate android standalone with eclipse
- integrate android standalone with eclipse
- The steps to integrate with Gerrit with eclipse
- AngularJs integrate with Yii
- Eclipse(4.2) maven(3.0.4--m2e) integrate with tomcat 7 (win7)
- The Way BIRT Integrate with Web
- apache integrate tomcat with jk1.2
- Integrate Drools with Maven2 is a worry~~
- Why should integrate Apache with Tomcat
- How to integrate Asymptote with Beamer
- integrate stlport with visual studio 2010
- Different Ways to Integrate with PeopleSoft
- Beyond Compare integrate with WinSCP & CVS
- Integrate Apache storm with zookeeper in windows
- [djangocms] Integrate djangocms with existing projects
- SDK4/5/6/7,相册、拍照及裁剪功能及遇见的坑
- nginx搭建支持http和rtmp协议的流媒体服务器之三 【转】
- 通讯录(链表+文件实现)+ 反思
- MySQL5.7版本无法启动服务【启动后自动停止】的解决方法
- express-generator express 调用多核CPU
- GitHub integrate with Eclipse
- Thinking in java 内部类
- java中servlet程序
- 做了一个梦:人生走了一遍
- 关于USB-Serial、USB转串口、USB-UART、PL2303、CH340等的理解
- 第五节 属性
- (转)排版常用HTML标签
- [Qt creator+Linux]mysql数据库使用问题:mysql driver not loaded
- 《Java源码解析》集合框架Set之HashSet