LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   How to configure git-daemon to publish my repo? (https://www.linuxquestions.org/questions/debian-26/how-to-configure-git-daemon-to-publish-my-repo-733419/)

CoderMan 06-16-2009 02:18 PM

How to configure git-daemon to publish my repo?
 
Hi. I've got a server running Debian Lenny i386, and I installed the git-core and git-daemon-run packages on it. I created a bare repo and then pushed some code to it. I understand it is possible to have git-daemon make my repo publicly accessible (read-only) via the git protocol, but I don't know how to configure it.

My attempts to figure this out have been somewhat frustrating. The Man pages give me command-line options for git-daemon, but since I don't even know how the system starts git-daemon, that doesn't really help. Google searches provided some information, but it was rather complex and didn't seem to apply to my system. One site mentioned gitosis, but I have even less understanding of gitosis than the git-daemon. I haven't received any responses on the IRC channels yet.

Could someone point me in the right direction? I am a complete newbie to git (coming over from Subversion). Is there a config file somewhere that I am missing?


All times are GMT -5. The time now is 01:29 AM.