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

Re: git-clone works with ssh but not with http/https/git

From
RHRobert Haines <rhaines@manchester.ac.uk>
Date
Jun 24, 2008, 12:35 UTC
Message-ID
<A3460448-8007-4E02-AC20-85C1A8C85786@manchester.ac.uk>
In-Reply-To
<ce513bcc0806240445x6d00323g303f218504d2df53@mail.gmail.com>
> I ran git-daemon on the server side like this:
>
> sudo git-daemon --base-path=/pub/git/ --export-all --listen=kites

So your clone address for git:// is wrong, you don't need the /pub/git: git clone git://erez.zilber@kites/erez.zilber/my_test.git As you've moved the root of the filesystem as far as git-daemon is concerned to /pub/git with the --base-path option. I suspect a similar problem for http[s] depending on how you've mapped /pub/git into your webserver.

rather than: git clone ssh://erez.zilber@kites/pub/git/erez.zilber/my_test.git for ssh which does start at the root of the filesystem.

Cheers, Rob

Previous: Johannes SixtNext: Erez Zilber
Message 15 of 20 in “git-clone works with ssh but not with http/https/git”
  1. Erez ZilberJun 24, 2008
  2. Matthias KestenholzJun 24, 2008
  3. Erez ZilberJun 24, 2008
  4. Johannes SchindelinJun 24, 2008
  5. Erez ZilberJun 24, 2008
  6. Jakub NarebskiJun 24, 2008
  7. Erez ZilberJun 24, 2008
  8. Anton GladkovJun 24, 2008
  9. Anton GladkovJun 24, 2008
  10. Matthias KestenholzJun 24, 2008
  11. Erez ZilberJun 24, 2008
  12. Jakub NarebskiJun 24, 2008
  13. Matthieu MoyJun 24, 2008
  14. Johannes SixtJun 24, 2008
  15. Robert HainesJun 24, 2008
  16. Erez ZilberJun 24, 2008
  17. Robert HainesJun 24, 2008
  18. Erez ZilberJun 24, 2008
  19. Daniel BarkalowJun 24, 2008
  20. Erez ZilberJun 25, 2008

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.