On Wednesday 29 April 2009 18:47:57 Juiceman wrote:
> On Wed, Apr 29, 2009 at 6:34 AM, xor <[email protected]> wrote:
> > On Tue, 2009-04-28 at 08:32 +0800, Daniel Cheng wrote:
> >> On Tue, Apr 28, 2009 at 6:11 AM, xor <[email protected]> wrote:
> >> > Hi,
> >> >
> >> > I've been trying to set up my IDE to work with git and found the
> >> > following one:
> >> >
> >> > http://www.jgit.org/
> >> >
> >> > It pulls, it diffs, everything, but push won't work:
> >> > "Can't connect to any URI: git://github.com/freenet/fred-staging.git
> >> > (Transport error occured during push operation: Protocol error:
> >> > expected LF)"
> >> >
> >> > Notice that I did not specify the git:// URI when fetching the
> >> > repository, I used the git@ one and enabled git+ssh.
> >>
> >> try to fix this in command line:
> >>
> >> $ cd fred
> >> $ git remote show
> >>
> >> this should show your current git remote detail, that is the git:// uri.
> >> If it is wrong, you can fix it with:
> >>
> >> $ git remote rm original
> >> $ git remote add original  [email protected]:freenet/fred-staging.git
> >>
> >> then go to eclipse and try again
> >
> > As I've said, I *did* specify the correct URI when creating the
> > repository. "get remote show origin -n" says the URI is:
> > git+ssh://[email protected]/freenet/fred-staging.git
>
> The correct URL is
> [email protected]:freenet/fred-staging.git   not
> [email protected]/freenet/fred-staging.git  (see the : ?)
>
> I repeat this because this is the first problem I had.

And I repeat that
git+ssh://[email protected]/freenet/fred-staging.git

is just another representation of the correct URI which tells the client that 
it shall use SSH.
If I enter the "[email protected]:freenet/fred-staging.git" URI then eclipsegit
auto-changes it to the URI which I told you.


Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to