On Tue, 2009-04-28 at 08:32 +0800, Daniel Cheng wrote: > On Tue, Apr 28, 2009 at 6:11 AM, xor <xor at gmx.li> 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 git at github.com: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://git at github.com/freenet/fred-staging.git which is the one I specified when creating the repository and which seems correct to me because it uses the "git@" part. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090429/d3d7678c/attachment.pgp>
