You are not logged in.
Pages: 1
I am new to git. I am currently setting up a repository under /srv/repo/. Now the documentation is great, and i dont really have a problem setting any of this up (i think). However id like to make a copy of the repo avaliable online. This copy online will only allow users to checkout the project and view the contents.
I will be using webgit (the included web scripts), however my question is what is the best way to achieve this. I would be happy enough just to set an rsync job to sync the contents of the /srv/repo to git.example.com, or is there another way.
Id like to know your thoughts / opionons in this please.
Thanks
Passbe
Offline
i'd make it a bare repo (see git help clone) and use git+ssh to work with it.
Offline
Do you mean you need the file content only to be available without the revision history ?
English is not my native language .
Offline
No no, i would like the revision history. Just the git repository as readonly. So that my users can clone a branch or a revision.
Offline
you can use git-daemon, or you can use an alias in apache, or you can .... so many different ways you can do it.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Pages: 1