git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Setting up remote repository --bare

From
Wink Saville <wink@saville.com>
Date
Aug 27, 2007, 05:03 UTC
Message-ID
<d4cf37a60708262203j1cdd6e88u82f65f7a435c5dc2@mail.gmail.com>

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
Message 1 of 1 in “Setting up remote repository --bare”
  1. Wink SavilleAug 27, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.