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

how to put existing git repo on web server

From
Llee <lee@yagibdah.de>
Date
Dec 26, 2015, 13:27 UTC
Message-ID
<87ege9tk5p.fsf@heimdali.yagibdah.de>
Hi,
I hope this is the right mailing list to ask this:

I have an existing git repo and I would like to make the repo available through my web server so that remote users can clone/fetch the repo. They don't need to commit.

So far, I've found some documentation basically telling me to create a bare repo which the web server can serve and then to put the existing repo into the bare one. However, all my attempts to somehow put the existing repo into the bare one have failed.

Why can't I simply copy the whole repo into a directory the web server can serve from and perhaps make some adjustments, or something similarly simple? How can I make it so that the repo can be cloned/fetched via the web server?

Message 1 of 1 in “how to put existing git repo on web server”
  1. leeDec 26, 2015

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.