擁抱自由,使用 linux !

在Linux底下真是太幸福了,有好多東西可以玩。想從windows解脫就是現在!

Mar-2-10

設定 git protocol

posted by Thomas

設定 Public GIT 服務

git 實作紀錄 之後,愈用愈順手,所以也開了 git 的服務

Server:
apt-get install git-daemon-run
vi /etc/sv/git-daemon-run/run
exec git-daemon –verbose –base-path=$git_path –export-all
sv restart git-daemon

Client
git clone git://$server_ip/project.git

done!

Tags:

Add A Comment