|
Re: Can't import from repo using the New Projects wizard [message #757705 is a reply to message #757510] |
Mon, 21 November 2011 05:03  |
Eclipse User |
|
|
|
With git there is no 1:1 relation between repository and project. You may have many projects in one git repository, and you can choose any location.
Therefore you have to change the location in the "New Java Project" wizard and it has to point to a folder in the cloned repository. If you start the "New Java Project" wizard from the "Import > Git > Projects from Git" wizard EGit will also tell eclipse that the project uses EGit as team provider. You could even create a project in an existing local repository, but then you have to click on "Team > Share Project..." afterwards to tell eclipse that the project uses EGit as team provider.
It is recommended to checkin the .project and .classpath files. If you have done that, everyone who uses the "Import > Git > Projects from Git" can then just say "Import existing projects" and EGit will find the existing projects.
|
|
|
Powered by
FUDForum. Page generated in 0.04811 seconds