How to create a new project from GIT repo using Eclipse EGit

I added a new GIT repo repository (private github repo) to the Eclipse EGit repo explorer. In the working directory, our team has many projects - some python, some C ++, some PHP - they are in different subdirectories. I select dir with the python project, and from the context menu I select "Import", then follow the steps using the "New Project Wizard". I select a new project "PyDev" and end up with a new project that is empty - only Eclipse files such as .project inside.

I want to create a new python project with the contents of ~ / git / repo - I don't need an external other copy of the tree.

+7
source share
1 answer

You can follow this tutorial and share your project.

Create egit repo

This would create a local Git repository to which you can add your private GitHub repository as remote.
See Also " Clicking Local Repository on GitHub ".

Select a new Eclipse project and click "Team" > "Push To" and enter "Your GitHub Clone URL" and GitHub password (with free GitHub accounts, do not enter a password, but leave it blank), leave the user "git"

push to github repo

+6
source

All Articles