On this page we look at how to import a project from Github and put it into Eclipse on your own local computer.
File -> New -> Other -> Git -> Git Repository Then click on Next |
|
Because the repository does not already exist on our local computer we create it as a bare repository. | |
We are now ready to import the repository. Go to File -> Import and select: 'Projects from Git' | |
Select 'Clone URI' click on 'next' |
|
In a browser goto the repository that you want to import and copy its URI. In this case: https://github.com/ |
|
paste this URI into the URI: line. The Host: and Repository path entries will be set automaticaly and the Protocol: will be set to 'https' so there is no need to enter anything else. Just click 'Next'. | |
Select branch. In this case 'master' is the only option. | |
I left all this at the default values. | |
Object information starts to be recieved | |
When complete click on next. | |
All projects are pre-selected so click on finish. | |