How to import a GitHub project into Eclipse
Assuming you have created a project in GitHub, these are the steps to import it into Eclipse. First, you have to add the git repository to Eclipse. To do so, first make the git repository view visible in Eclipse from the menu 'Window > Show views > Other > Git > Git Repositories'.

Eclipse will show the view somewhere. Click on 'Clone a Git repository' to begin the process.

Make sure to select GitHub as repository source.

To add your project, enter the name of the project (select the language, if you set one) and press search. Your project repository will show up. Select it and press 'Next'.

Now, select the local path on your computer where Eclipse will store the project. In my case, I'm OK with the default path, that is, within the git/ subfolder in my home dir (i.e., C:\Users\Fabio\git\socialcde-demo). Please, make sure to check the box 'Import all existing Eclipse project after clone finishes'. This is very important if the project on GitHub is not empty. Then, press 'Finish'.

In the rest of this guide, I'm assuming that your GitHub project is empty and has just been created. In order to make it visible within the Eclipse IDE, complete these steps. From the toolbar, click on 'New > Project...'. In the example, I show the case of a Java project, but the steps are the same for every Eclipse project.

Uncheck the box 'Use default location'. Then, click on 'Browse' and use the treeviewer to browse the folder where you checked out the GitHub repository (C:\Users\Fabio\git\socialcde-demo in this case).

As a confirmation that everything worked fine in the 'Package Explorer' view, you should see the project folder (socialcde-demo) displayed with a little orange cylinder, which indicates that the project is shared on GitHub. Finally, make sure that your projects contains a src/ subfolders where to store your source file. It is a best practice for software developers and SocialCDE relies on that.

© 2015 Collab, University of Bari, Italy
Pages 11
- Home
- How to change connection password after SocialTFS Proxy Server installation
- How to debug SocialCDE client
- How to import a GitHub project into Eclipse
- How to install SocialCDE
- How to install SocialTFS proxy server
- How to setup a GitHub organization, project and team
- How to update SocialTFS Proxy Server
- How to update the SocialCDE client
- How to use SocialCDE client
- Scenario (Ita)
Clone this wiki locally
How to import a GitHub project into Eclipse的更多相关文章
- Creating a Hadoop-2.x project in Eclipse
Creating a Hadoop-2.x project in Eclipse hortonworks:MapReduce Ports http://docs.hortonworks.com/HDP ...
- Stanford: Creating a Hadoop-2.x project in Eclipse
Creating a Hadoop-2.x project in Eclipse http://snap.stanford.edu/class/cs246-data-2014/hw0.pdf Hado ...
- 谁再把IDEA的Project比作Eclipse的Workspace,我就跟谁急
前言 你好,我是A哥(YourBatman). 有一个观点:若一个Java开发者能把IDEA玩得666,则技术一定不会差:但若玩不转IDEA(如不会设置.定制.解决日常问题.快捷键等等),那大概率水平 ...
- import c++ project to eclipse cdt with exiting makefile
Step 2: You are now ready to build your project. To build your project, select Project > Build Pr ...
- myeclipse 导入 import maven web project
用google才收到了这个.. http://stackoverflow.com/questions/12197662/maven-java-web-project-not-recognised-wh ...
- MyEclipse Web Project导入Eclipse Dynamic Web Project,无法部署到tomcat问 题
做作业遇到一个小问题,将MyEclipse Web Project导入到Eclipse中开发.在部署到tomcat时,发现无法发布这个项目. 问题分析: MyEclipse Web Project被识 ...
- 一个Web Project引用多个Java Project在Eclipse下的配置--转载
项目结构: 项目由一个Web Project和多个Java Project构成,Web Project需要引用其它Java Project的类和Jar包.开发时用Eclipse3.5和Tomcat调试 ...
- github not authorized eclipse 关于 代码不能提交到GitHub
eclipse/myeclipse > menu > window > preferences > general > security > content > ...
- github not authorized eclipse
eclipse/myeclipse > menu window > preferences > general > security > content >git ...
随机推荐
- 【二】jquery之基础概念与jquery对象与dom对象的区别及混合使用
一:jquery基本概念 1.jquery是一个javascript框架,它是一个轻量级的js库 2.当下流行的js库有: jquery MooTools Prototype 3.$(ducoment ...
- Python 3种运行方式
Python 命令行 >>>print('Hello World!') 小程序 在hello.py中写入如下,并保存: print('Hello World!') $python h ...
- linux 环境下如何完全卸载postgres
完全删除postgres 小笔记: 1.查看版本号和系统类别:cat /etc/redhat-realease; 2.如果是redhat:(yum install) a.yum 删除软件包: yum ...
- HDU 2569(简单的递推)
彼岸 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submissi ...
- (转)Lua的table库函数insert、remove、concat、sort详细介绍
原帖链接:http://www.jb51.net/article/64711.htm#comments 有增注标识的地方为额外注释,非原帖内容. 函数列表:(增注:只能用于数组!) table.ins ...
- 02-python-垃圾回收机制
转载自 https://www.cnblogs.com/Xjng/p/5128269.html 加以整理,方便记忆 1垃圾回收机制 Python中的垃圾回收是以引用计数为主,分代收集为辅.引用计数的缺 ...
- 分享:selenium(一) xpath
xpath无所不能定位. https://www.w3.org/TR/xpath/all/#axes 两个神器:firebug.xpath-checker 举例:混合定位 //td[a//fron ...
- ico 图标 生成 工具 网站
http://www.faviconico.org/favicon favicon.ico在线制作,在线Favicon.ico制作转换工具
- 为 昂达 v891 安装上了 remix OS 了
起因: 默认的ROM自带一堆垃圾app,最主要的是没有root , 所以卸载不了. 然后试了 Root大师 , 刷机精灵 之类的软件. 我 CTMD , 简直比出厂ROM 还流氓, 不断的强制安装各种 ...
- lombok插件:Data自动get/set方法, Slf4j实现Logger的调用
lombok插件:Data自动get/set方法, Slf4j实现Logger的调用 lombok.Data import lombok.Data; import org.hibernate.anno ...