http://fourdollars.blogspot.com/2009/02/ubuntu-8042-git.html
http://gregmeiste.com/2009/02/mirror-android-repositories-on-a-local-server/
http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way
1. install git-daemon-run
2. link .git to /var/cache/git/XXX
3. touch .git/git-daemon-export-ok
4. sudo sv restart git-daemon
Then you can use following command to access git server:
git clone git://addr.to.your.server/git/XXX
[Note] sudo -u git git-daemon --base-path=/var/cache/git --export-all
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment