Setting up remote repository --bare

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux