在eclipse中使用github
Posted wwha
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在eclipse中使用github相关的知识,希望对你有一定的参考价值。
首先确保电脑中安装了Github或者git。
1.在preference->General->Network Connections->SSH2中添加github的私有密钥:

2. 导入现有工程。打开一个工程,在工程名上右键,点击team→share project,将你的工程另外导入到一个git文件夹:

3.创建一个仓库:

4.提交到github服务器上。在项目上点右键–>team–>commit。commit是commit到本机的git库,而push才是同步到github。点击“Commit and push”
然后需要输入你GitHub上项目的仓库地址,没有的话需要新建项目,步骤如下:
输入URI和github的账号和密码:

5.以master方式提交(强制更新):

以上是关于在eclipse中使用github的主要内容,如果未能解决你的问题,请参考以下文章