Can't clone remote git repository with EGit

a_mark picture a_mark · Feb 28, 2012 · Viewed 82.7k times · Source

I am trying to clone remote git repository with Egit, via https protocol. I followed this online tutorial.

When I insert URI: https://username@host:port/repositorypath, password and click NEXT, I am getting this error message:

Cannot list the available branches.
Reason:
Exception caught during execution of ls-remote command.

How can I clone this repo?

Answer

Daniel Lee picture Daniel Lee · Mar 16, 2012

It sounds like Egit is looking for an ssl certificate and refusing to function without it. A good fix to make the problem go away and stay away: Window→Preferences→Team→Git→Configuration→New Entry→http.sslverify=false.

That should take care of it.