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

Re: Fwd: HTTP Dumb Push?

From
Jeff King <peff@peff.net>
Date
Mar 6, 2017, 15:45 UTC
Message-ID
<20170306154505.ams3ekxf33qqcou7@sigill.intra.peff.net>
In-Reply-To
<CAOJpByWFKbWE=HtNVpqDgfoqo1ajNttstNpRaUHT7a5AjObuJg@mail.gmail.com>
On Mon, Mar 06, 2017 at 09:38:33AM -0600, Christian7573 wrote:
> Is there a way for git to push to a server using the dumb protocol?
> Perhaps using the PUT method to upload files?
> Just wondering cause I just set up a dumb server and pushing to it
> doesn't work.

Git dumb-http push protocol goes over DAV. There are instructions in Documentation/howto/setup-git-server-over-http.txt of the git repository. They're quite old now, and I have no idea if they've bit-rotted over the years. Hardly anybody uses that solution these days (and it's much less efficient than the smart protocol).

> If that isn't an option, where can I get a smart server?

The CGI ships with the rest of git. Try "git help http-backend", which has some sample config for Apache and lighttpd.

-Peff
Previous: Christian7573
Message 2 of 2 in “Fwd: HTTP Dumb Push?”
  1. Christian7573Mar 6, 2017
  2. Jeff KingMar 6, 2017

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.