Cloning from existing repository [message #708322] |
Tue, 02 August 2011 13:15  |
Eclipse User |
|
|
|
(As seen elsewhere in this forum, I'm a newbie.)
In /etc/hosts, I have a line:
xxx.xxx.xxx.xxx af-blackpearl.site
for our local Git remote repository. Though I administer Git via a
gitolite-admin project, the filesystem path to the project I'd like to
clone on af-blackpearl.site is /home/git/repositories/myproject.git.
From the command line, I've long (and successfully) cloned from origin
thus:
git clone git:af-blackpearl.site:myproject
Despite looking at the EGit (Google-hosted) documentation, I'm having
trouble adapting this to
File -> Import... -> Git -> Projects from Git -> Clone -> URI
Using protocol git, I've tried various URIs:
git:af-blackpearl.site:myproject (can't click Next button)
git:af-blackpearl.site/myproject[.git] (with or without extension)
When I can click the Next button, I always get:
Cannot list the available branches.
Reason:
git:af-blackpearl.site/rest-server:ProxyHTTP: java.io.IOException:
proxy error: Service Unavailable
When I try:
git://af-blackpearl.site/myproject[.git] (with or without extension)
git://af-blackpearl.site/
git://af-blackpearl.site (can't click Next button)
and I can click the Next button, I always get something like:
Cannot list the available branches.
Reason:
git://af-blackpearl.site/myproject: Connection refused
I'd like a suggestion or two to follow up on.
Thanks.
|
|
|
|
|
|
Re: Cloning from existing repository [message #714169 is a reply to message #714114] |
Tue, 09 August 2011 20:20   |
Eclipse User |
|
|
|
On 09-Aug-11 14:26, Manuel Doninger wrote:
> Did you check your SSH key configuration? Eclipse Helios uses another
> directory for ssh keys by default ($userhome\ssh instead of
> $userhome\.ssh, which is used by command line). Indigo points to .ssh by
> default.
> Also, as an answer at Stackoverflow suggests, your URL should look like
> ssh://username@af-blackpearl.site/project
As a matter of fact, I did check all of that, however, I am indeed using
..ssh and not ssh. (Still, I thought that was clear via
Window->Preferences->General->Network->SSH2; oh well.)
So, I'll look into this again tomorrow!
Profuse thanks.
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06056 seconds