|
|
Re: Getting a Project From Github to Eclipse [message #1706780 is a reply to message #1705342] |
Mon, 31 August 2015 01:27  |
Eclipse User |
|
|
|
Copy the URL from GitHub and select in Eclipse from the menu the
File → Import → Git → Projects from Git
http://wiki.eclipse.org/images/5/5a/Egit-0.9-import-projects-select-repository.png
If the Git repo isn't cloned yet:
In> order to checkout a remote project, you will have to clone its repository first.
Open the Eclipse Import wizard (e.g. File => Import), select Git => Projects from Git and click Next.
Select "URI" and click Next.
Now you will have to enter the repository's location and connection data. Entering the URI will automatically fill some fields. Complete any other required fields and hit Next. If you use GitHub, you can copy the URI from the web page.
Select all branches you wish to clone and hit Next again.
Hit the Clone... button to open another wizard for cloning Git repositories.
Original answer (July 2011)
First, if your "Working Directory" is C:\Users, that is odd, since it would mean you have cloned the GitHub repo directly within C:\Users (i.e. you have a .git directory in C:\Users)
Usually, you would clone a GitHub repo in "any directory of your choice\theGitHubRepoName".
Source: stackoverflow
|
|
|
Powered by
FUDForum. Page generated in 0.24763 seconds