2013-09-28

How to deal with git clone error?

Views: 13497 | Add Comments

I ran into a github HTTPS clone error as this:

$ git clone https://github.com/ideawu/ssdb.git
Initialized empty Git repository in /xxx/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

Try to use this instead: git clone git://github.com/ideawu/ssdb.git, problem solved.

DO NOT copy the git url from github, because it is in the form of: git@github.com:ideawu/ssdb.git, this need you to set up a LOT of things! Using git://github.com/xxx/yyy.git is the easiest way to clone a read-only repo annonymous.

Posted by ideawu at 2013-09-28 16:56:00 Tags:

Leave a Comment