Tuesday, October 29, 2019

How To Import a GitHub Project into Eclipse IDE

How to import a GitHub project into an eclipse project, without polluting the git directory within your user home folder?

Open the command line terminal and move to eclipse workspace:

cd ~/eclipse-workspace

clone the GitHub project from command line:

git clone https://github.com/heroku/java-getting-started heroku-getting-started

You have cloned the GitHub project into the heroku-getting-started directory.