github

http://www.cnblogs.com/terrylin/archive/2012/05/22/2513320.html

1.按照github上的指南配置(http://help.github.com/win-set-up-git/)基础的git环境。

2.在github上创建一个Repository。

3.在Eclipse中通过“Eclipse Marketplaces”,在Market Places里安装egit。

4.在Eclipse中生public key, 并添加到GitHub Repository中。
Eclipse中通过:performance -> SSH2 -> Key Management -> Gernerate RSA Key 生成 SSH 的 public key。
在GitHub中通过:edit your profile -> ssh key -> Add SSH Key 添加SSH Key, 把上面生成的 public key 拷贝到这里,保存。

5.Eclipse里File菜单,Import,即可从git导入刚添加到git的项目了。


6.修改,并提交。在项目上点右键–>team–>commit。commit是commit到本机的git库,而push才是同步到github。

原文地址:https://www.cnblogs.com/daishuguang/p/3840996.html