Hi,

does anyone know how to put a copy of a local repo onto a web server
(apache) so that the repo can be pulled via http?

The instructions I'm finding suggest to init a bare repo --- into which
I can't get the files because when I try to pull from the source repo, I
only get 'fatal: /usr/libexec/git-core/git-pull cannot be used without a
working tree.' or 'fatal: This operation must be run in a work tree'.

When I just clone the repo, trying to pull it via http makes apache look
for 'path/to/repo/info/refs?service=git-upload-pack HTTP/1.1'.  Within
the repo, there is no directory 'info', and 'git update-server-info'
apparently does nothing, and the repo cannot be pulled.


-- 
Again we must be afraid of speaking of daemons for fear that daemons
might swallow us.  Finally, this fear has become reasonable.

Reply via email to