I recently tried to setup git repo on a linux box and wasted about 10 hours with absolutely no results. There aren\'t any problems with compilation or anything like that, it\'s
I believe (but I have not tried it yet) that gitosis is the way to go in order to:
Update: 2011, I have actually deployed gitolite
git
repos easier and safer. ItThe installation process I recommand is one done from a client post in order to copy the full installation of gitolite on the server:
(from-client method) install from the client to the server
Remember: gitolite manages authorization, not authentication (SSH): it can be used without SSH, but its natural deployment is through SSH and the forced command mechanism. (like gitosis was, but with many more features)
Old references for gitosis:
Here is a step-by-step tutorial.
And then an application of the tutorial: Gitosis — making hosting multiple Git repositories manageable (for Mac) or installing gitosis on Ubuntu
Followed by: Adding users to our secure Git setup
Finished with: Git subprojects (since your gitosis server manages all those different git repositories)
For truly light (cgi server) public Git repositories, you can:
Here is how to do it on an Apache server.
The 2010 article "8 ways to share your git repository" mentions all the possibilities to give access to a Git repository.