git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Wink Saville" <wink@saville.com>
To: git@vger.kernel.org
Subject: Setting up remote repository --bare
Date: Sun, 26 Aug 2007 22:03:12 -0700	[thread overview]
Message-ID: <d4cf37a60708262203j1cdd6e88u82f65f7a435c5dc2@mail.gmail.com> (raw)

It seems that the "--bare" option has been removed, I now using 1.5.2.5.
This makes the documentation in
http://www.kernel.org/pub/software/scm/git/docs/cvs-migration.html
incorrect. I was able to manually create a bare directory using the following:

$ git-init --shared
$ git-config core.bare true
$ mv .git/* .
$ rmdir .git
$ git-fetch ~/git-repos/my-repo master:master

Things seem to be working I can pull and push to the repo after using:

$ git-daemon --enable=receive-pack --reuseaddr
--base-path=/home/wink/git-repos \
--export-all --verbose

But this seems arduous, I suspect I'm missing something.

Cheers,

Wink Saville

                 reply	other threads:[~2007-08-27  5:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=d4cf37a60708262203j1cdd6e88u82f65f7a435c5dc2@mail.gmail.com \
    --to=wink@saville.com \
    --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).