Import remote git repository in one folder and create project in another one [message #544949] |
Tue, 06 July 2010 04:05  |
Eclipse User |
|
|
|
Hi,
is it possible to import remote git repository to one folder, for example /home/user/git,
and then create java project in another folder, for example /home/user/eclipse, so that no further actions will be required to make them work together?
If I try to do like that:
1) my project is not "shared" automatically (it doesn't matter what settings I select in "Import projects from Git" wizard)
2) I can not share project with just imported repository (if they are located in different folders).
Why does egit require to have git repository in the same folder where project is?
I understand that I can clone just imported repository to the project folder, but still, why does egit have such limitations?
|
|
|
Re: Import remote git repository in one folder and create project in another one [message #545146 is a reply to message #544949] |
Tue, 06 July 2010 14:26  |
Eclipse User |
|
|
|
Dmitry wrote:
> Hi,
>
> is it possible to import remote git repository to one folder, for example
> /home/user/git, and then create java project in another folder, for
> example /home/user/eclipse, so that no further actions will be required to
> make them work together?
>
> If I try to do like that:
> 1) my project is not "shared" automatically (it doesn't matter what
> settings I select in "Import projects from Git" wizard) 2) I can not share
> project with just imported repository (if they are located in different
> folders).
>
> Why does egit require to have git repository in the same folder where
> project is? I understand that I can clone just imported repository to the
> project folder, but still, why does egit have such limitations?
I can answer that one: Because noone did the required coding.
JGit has support at the lower levels, so it is just that some wants to
spend an hour (or a few) on it instead of on something else.
-- robin
|
|
|
Powered by
FUDForum. Page generated in 0.04031 seconds