git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Xavier Maillard <zedek@gnu.org>
To: git@vger.kernel.org
Subject: Publishing on a simple HTTP server
Date: Mon, 12 Feb 2007 21:10:25 +0100	[thread overview]
Message-ID: <14870.1171311025@localhost> (raw)

Hi,

I am trying to understand how to publish/export my repository to
put it onto a HTTP server from which, I hope, someone could clone
or pull from it.

Sadly, I think I do not have the right recipe to achieve this.

I hope you will be able to comment how I do things and tell
what's wrong:

1. Repack current repository (just in case)

git repack -d

2. Clone current repository

git clone --bare -l . /tmp/my-cloned.git

3. Update cloned repository informations

git --bare --git-dir=/tmp/my-cloned.git update-server-info


Then I upload this to my HTTP server.

When I want to clone the result from my HTTP server, here is what
I get:

Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?


Note that I do not have git installed onto my HTTP server (since
I can't do that) neither is gitweb.

What is wrong this ?

Regards,

Xavier

             reply	other threads:[~2007-02-12 20:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-12 20:10 Xavier Maillard [this message]
2007-02-12 23:11 ` Publishing on a simple HTTP server Johannes Schindelin
2007-02-13  5:32   ` Xavier Maillard
2007-02-13 10:07     ` Johannes Schindelin
2007-02-13 11:45       ` Xavier Maillard
2007-02-13 11:57         ` Johannes Schindelin
2007-02-14 10:59           ` Xavier Maillard
2007-02-14 11:23             ` Jeff King
2007-02-14 11:34               ` [SOLVED] " Xavier Maillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14870.1171311025@localhost \
    --to=zedek@gnu.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).