git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: can not clone via git:// anymore

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Mar 4, 2009, 12:59 UTC
Message-ID
<49AE7B23.1070008@drmicha.warpmail.net>
In-Reply-To
<49AE64F2.1090405@cetrtapot.si>
Hinko Kocevar venit, vidit, dixit 04.03.2009 12:24:
Show 33 quoted lines
> Hi,
> 
> I've recently discovered that my GIT repository is not letting me clone it via git clone git://.
> It works using git clone git@.. (SSH) but with GIT protocol..
> 
> Here is the case:
> hinkok@alala /tmp $ git --version
> git version 1.6.0.6
> hinkok@alala /tmp $ git clone git://zidar/sdk.git
> Initialized empty Git repository in /tmp/sdk/.git/
> fatal: The remote end hung up unexpectedly
> 
> My earlier clone (few months old) has this in .git/config:
> hinkok@alala /work/git/sdk.git $ cat .git/config 
> [core]
> 	repositoryformatversion = 0
> 	filemode = true
> 	bare = false
> 	logallrefupdates = true
> [remote "origin"]
> 	url = git@zidar:repositories/sdk.git
> 	fetch = +refs/heads/*:refs/remotes/origin/*
> [branch "master"]
> 	remote = origin
> 	merge = refs/heads/master
> 
> 
> But I remember cloning via SSH that time, because I needed git push to work,
> but now other developer do not need the SSH access, but only GIT read-only -
> they can only clone, not push.
> 
> I do not administer the server git repos is located on, so I must have some
> information before I attack the admin..

Sorry in case this is trivial, but has git: access ever worked? It requires a git daemon running on the server, whereas ssh access does not require that. git@zidar:repositories/sdk.git uses ssh access.

Michael
Previous: Hinko KocevarNext: Hinko Kocevar
Message 2 of 5 in “can not clone via git:// anymore”
  1. Hinko KocevarMar 4, 2009
  2. Michael J GruberMar 4, 2009
  3. Hinko KocevarMar 4, 2009
  4. Jeff KingMar 4, 2009
  5. Hinko KocevarMar 5, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.