GOAL: let everybody pull, nobody push serving local git repo with working copies peer-to-peer working environment (software devel on laptops) publishing own repo, central figure gets pull request by other developers SETUP: repos are linked in /home/data/4_file_sharing/Git/ e.g.: /home/data/4_file_sharing/Git/msbsensor.git/ -> /home/.../msbsensor/.git/ INSTALL ======= # aptitude install git-daemon-run CONFIGURATION ============= # gedit /etc/sv/git-daemon/run #!/bin/sh exec 2>&1 echo 'git-daemon starting.' exec chpst -ugitdaemon "$(git --exec-path)"/git-daemon \ --verbose --reuseaddr --export-all \ --base-path=/home/data/4_file_sharing/Git/ # sv restart git-daemon DEBUGGING ========= $ grep 9418 /etc/services git 9418/tcp # Git Version Control System $ git ls-remote git://localhost/msbsensor.git # netstat -ntlp | grep git $ ps aux | grep git MANUAL ====== allows you to make the current repo available via the git-daemon useful shell alias $ git daemon --verbose --export-all --base-path=.