1

I am a rookie trying to set up a work flow with Github via egit.

I have a forked repository and I was trying to import a github repo using the CloneURI call from eclipse/Import.

URI: git://github.com/xxxxx/pyfunds.git
host: github.com
repopath: /xxxxxx/pyfunds.git
protocol: git Port:
blank ( i tried with 9418 too)

Authentication block is now opaque and I can't enter my github creds. On hitting next, I see an error message:

An error occured while trying to contact git://github.com/xxxxxx/pyfunds.git with possible reasons being Incorrect URL or No network connection.

How can I get around this. I am behind a firewall and I have set the http and https proxy as per my firm's proxy settings.

Magnilex
  • 11,584
  • 9
  • 62
  • 84
schuler
  • 175
  • 2
  • 4
  • 12
  • HAve you looked at http://stackoverflow.com/questions/10054318/how-to-provide-username-and-password-when-run-git-clone-gitremote-git ? – SolarBear Jan 07 '15 at 19:35

1 Answers1

1

git:// URLs use the git-daemon native transport, which is it's own protocol, not HTTP. So it doesn't go through your configured HTTP proxy. Use an https:// URL to github instead.

ComputerDruid
  • 16,897
  • 1
  • 19
  • 28
  • When I use the github url path https://github.com/xxx/888.git and the connection protocol i set to https immediately I see at the top "Internal Error;consult Eclipse error log"... – schuler Jan 07 '15 at 20:55
  • 1
    If you are using eclipse, just change from http to git in the protocol section when you are cloning your git repository using the git built in tool. – eyoeldefare Jul 05 '18 at 17:25