Re: git-clone works with ssh but not with http/https/git
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:44:49
Hi, On Tue, 24 Jun 2008, Erez Zilber wrote:
On Tue, Jun 24, 2008 at 2:21 PM, Matthias Kestenholz [off-list ref] wrote:quoted
On Tue, 2008-06-24 at 14:15 +0300, Erez Zilber wrote:quoted
[root@kd001 t]# git-clone http://kites/pub/git/erez.zilber/my_test.git Initialized empty Git repository in /home/erez.zilber/work/tmp/t/my_test/.git/ Cannot get remote repository information. Perhaps git-update-server-info needs to be run there?Maybe you should run git-update-server-info in the repository on the server?Forgot to mention - I tried to run git-update-server-info from the repository on the server.
No, you did not. Otherwise, the message would not appear. It can be that you have _another_ repository on the server, but running update-server-info there does not help.
I got the same results. BTW - if it works OK with ssh, I can only guess that git-update-server-info won't help for http. right?
Wrong again. ssh transport is special, and does not need the information update-server-info provides. Hth, Dscho