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 ...
随机推荐
- PHP直接将文件流转换为字符串
有时候不需要图片直接输出到浏览器,需要如下处理! 输出到浏览器 $qrCode = new QrCode(); $qrCode ->setText('Life is too short to b ...
- Java技术——你真的了解String类的intern()方法吗
0.引言 什么都先不说,先看下面这个引入的例子: String str1 = new String("SEU")+ new String("Calvin") ...
- ArrayList的详解
数组一旦给定大小就是固定的,只能放同类型的不能再改,还有一种高级的可扩充的,就是arrayList类,被称作动态数组或者集合. 使用步骤: 1. 引用命名空间system.collections: 2 ...
- STL——vector
学到STL的vector,发现手中的材料不是很详细,这里做个汇总. 1 操作 (1)头文件#include<vector>. (2)创建vector对象,vector<int> ...
- 力扣(LeetCode) 771. 宝石与石头
给定字符串J 代表石头中宝石的类型,和字符串 S代表你拥有的石头. S 中每个字符代表了一种你拥有的石头的类型,你想知道你拥有的石头中有多少是宝石. J 中的字母不重复,J 和 S中的所有字符都是字母 ...
- 力扣(LeetCode)69. x 的平方根
实现 int sqrt(int x) 函数. 计算并返回 x 的平方根,其中 x 是非负整数. 由于返回类型是整数,结果只保留整数的部分,小数部分将被舍去. 示例 1: 输入: 4 输出: 2 示例 ...
- 力扣(LeetCode)1.两数之和
给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标. 你可以假设每种输入只会对应一个答案.但是,你不能重复利用这个数组中同样的元 ...
- 认识flask框架
1.框架的基本认识: 特点:用Python语言实现的轻量.简洁.扩展性强. 核心:werkzeug和Jinja2 2.虚拟环境: 创建:mkvirtualenv -p python3 名称 进入:wo ...
- cocos2dx lua 绑定之一:自动绑定自定义类中的函数
cococs2dx 3.13.1 + vs2013 + win10 1.首先定义C++类Student 在cocos2d-x\cocos文件夹下新建一个user_define的文件夹放置两个文件. 注 ...
- 网络cmd命令
1.ping ip; 检测IP地址是否相通 ping命令的常用参数选项 ping IP -t:连续对IP地址执行ping命令,直到被用户以Ctrl+C中断. ping IP -l 2000:指定pin ...