Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Egit with remote Git server(can't push or fetch)
Egit with remote Git server [message #663697] Wed, 06 April 2011 05:00 Go to next message
Eclipse UserFriend
Hi guys

I got a problem with using Egit. I got a remote git server, I can reach it with git extenions, but I can't reach it with Egit.

In every tutorial they describe how to use Egit with github. But I don't use github, I want to use my own server.

Does Egit also creates the git folder on my git server when i push it and it isn't there?

Kind regards

Maikel
Re: Egit with remote Git server [message #663722 is a reply to message #663697] Wed, 06 April 2011 06:33 Go to previous messageGo to next message
Eclipse UserFriend
Which protocol do you use to access your server?
Re: Egit with remote Git server [message #663727 is a reply to message #663722] Wed, 06 April 2011 06:49 Go to previous messageGo to next message
Eclipse UserFriend
I use ssh
Re: Egit with remote Git server [message #663823 is a reply to message #663697] Wed, 06 April 2011 11:06 Go to previous messageGo to next message
Eclipse UserFriend
Do you have configured Eclipse correctly to use your SSH key? As default Eclipse looks for the SSH keys in the folder %userhome%\ssh, whereas MSysGit and GitExtensions (if you use OpenSSH as SSH client) look in %userhome%\.ssh
Re: Egit with remote Git server [message #663994 is a reply to message #663823] Thu, 07 April 2011 02:37 Go to previous messageGo to next message
Eclipse UserFriend
Everything is configured correctly. My public key and private key are in the %homefolder%\ssh directory.

But when I try to push it gives this error:
ssh://git@172.16.100.101/repositories/EgitTest.git: fatal: '/repositories/EgitTest.git' does not appear to be a git repository

OK, the repository isn't there, but normally it would create it?

Even if I change it to a real git repository it gives that error.

ssh://git@172.16.100.101/repositories/EgitTest.git
Is my URI, my git repo's are filed under /home/git/repositories/

So normally this would be correct. If I change it to
ssh://git@172.16.100.101/EgitTest.git

it still gives that error, and I don't know what I'm doing wrong, I really want this plugin to work, because all the other plugins for development software I user are still in development and not working correctly


Re: Egit with remote Git server [message #664005 is a reply to message #663994] Thu, 07 April 2011 03:44 Go to previous messageGo to next message
Eclipse UserFriend
Ok, it works, the only thing that it doesn't do is create a git repository on the server.

Is it possible to do that with Egit? Or does the git repo needs to exist on the server?

EDIT: I converted my putty ssh key to openssh format, so Eclipse can use it, but when I try to fetch, it gives me the next message
git@server:EgitTest.git: Auth fail

[Updated on: Thu, 07 April 2011 04:24] by Moderator

Re: Egit with remote Git server [message #664033 is a reply to message #664005] Thu, 07 April 2011 05:04 Go to previous message
Eclipse UserFriend
K, the changing of the ssh key works.

Now I'm only searching for a method to let eGit create a repository on the remote server. I hope this is possible

[Updated on: Thu, 07 April 2011 05:06] by Moderator

Previous Topic:Using EGit with Assembla.com part 2
Next Topic:Java Heap Space Error while fetch
Goto Forum:
  


Current Time: Mon Nov 10 07:17:08 EST 2025

Powered by FUDForum. Page generated in 0.04406 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top