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

Publishing on a simple HTTP server

From
XMXavier Maillard <zedek@gnu.org>
Date
Feb 12, 2007, 20:10 UTC
Message-ID
<14870.1171311025@localhost>
Hi,

I am trying to understand how to publish/export my repository to put it onto a HTTP server from which, I hope, someone could clone or pull from it.

Sadly, I think I do not have the right recipe to achieve this.

I hope you will be able to comment how I do things and tell what's wrong:

1. Repack current repository (just in case)
git repack -d
2. Clone current repository
git clone --bare -l . /tmp/my-cloned.git
3. Update cloned repository informations
git --bare --git-dir=/tmp/my-cloned.git update-server-info
Then I upload this to my HTTP server.

When I want to clone the result from my HTTP server, here is what I get:

Cannot get remote repository information. Perhaps git-update-server-info needs to be run there?

Note that I do not have git installed onto my HTTP server (since I can't do that) neither is gitweb.

What is wrong this ?
Regards,
Xavier
Next: Johannes Schindelin
Message 1 of 9 in “Publishing on a simple HTTP server”
  1. Xavier MaillardFeb 12, 2007
  2. Johannes SchindelinFeb 12, 2007
  3. Xavier MaillardFeb 13, 2007
  4. Johannes SchindelinFeb 13, 2007
  5. Xavier MaillardFeb 13, 2007
  6. Johannes SchindelinFeb 13, 2007
  7. Xavier MaillardFeb 14, 2007
  8. Jeff KingFeb 14, 2007
  9. [SOLVED] Re: Publishing on a simple HTTP serverXavier Maillard, Feb 14, 2007

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.