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