設定 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!


The 設定 git protocol by 擁抱自由,使用 linux !, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 Taiwan License.


Add A Comment