Re: Fwd: HTTP Dumb Push?
- Date: Mon, 6 Mar 2017 10:45:05 -0500
- From: Jeff King <peff@xxxxxxxx>
- Subject: Re: Fwd: HTTP Dumb Push?
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.