threads / discuss / 9667

Setting up remote repository --bare

Subject: Setting up remote repository --bare

## tl;dr

One message between Aug 27, 2007 and Aug 27, 2007.

replies: 0people: 1as markdown or json

Wink Saville· Aug 27, 2007, 05:03 UTC · lore

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

← back to recent threads