天天看點

GIT Daemon 配置 (分布式版本控制)Netkiller Version 手劄

2009-12-12

文檔最近一次更新于 thu jan 12 15:57:18 utc 2012

版權 © 2009, 2010, 2011, 2012 neo chan

<a></a>

版權聲明

轉載請與作者聯系,轉載時請務必标明文章原始出處和作者資訊及本聲明。

<a href="http://creativecommons.org/licenses/by/3.0/" target="_top"></a>

GIT Daemon 配置 (分布式版本控制)Netkiller Version 手劄

文檔出處:

<a href="http://netkiller.sourceforge.net/" target="_top">http://netkiller.sourceforge.net</a>

<a href="http://netkiller.github.com/" target="_top">http://netkiller.github.com</a>

下面是我多年積累下來的經驗總結,整理成文檔供大家參考:

<a href="http://netkiller.github.com/architect/index.html" target="_top">netkiller architect 手劄</a>

<a href="http://netkiller.github.com/linux/index.html" target="_top">netkiller linux 手劄</a>

<a href="http://netkiller.github.com/developer/index.html" target="_top">netkiller developer 手劄</a>

<a href="http://netkiller.github.com/database/index.html" target="_top">netkiller database 手劄</a>

<a href="http://netkiller.github.com/debian/index.html" target="_top">netkiller debian 手劄</a>

<a href="http://netkiller.github.com/centos/index.html" target="_top">netkiller centos 手劄</a>

<a href="http://netkiller.github.com/freebsd/index.html" target="_top">netkiller freebsd 手劄</a>

<a href="http://netkiller.github.com/shell/index.html" target="_top">netkiller shell 手劄</a>

<a href="http://netkiller.github.com/www/index.html" target="_top">netkiller web 手劄</a>

<a href="http://netkiller.github.com/monitoring/index.html" target="_top">netkiller monitoring 手劄</a>

<a href="http://netkiller.github.com/storage/index.html" target="_top">netkiller storage 手劄</a>

<a href="http://netkiller.github.com/mail/index.html" target="_top">netkiller mail 手劄</a>

<a href="http://netkiller.github.com/security/index.html" target="_top">netkiller security 手劄</a>

<a href="http://netkiller.github.com/multimedia/index.html" target="_top">netkiller multimedia 手劄</a>

<a href="http://netkiller.github.com/docbook/index.html" target="_top">netkiller writer 手劄</a>

<a href="http://netkiller.github.com/version/index.html" target="_top">netkiller version 手劄</a>

<a href="http://netkiller.github.com/postgres/index.html" target="_top">netkiller postgresql 手劄</a>

<a href="http://netkiller.github.com/mysql/index.html" target="_top">netkiller mysql 手劄</a>

<a href="http://netkiller.github.com/cryptography/index.html" target="_top">netkiller cryptography 手劄</a>

<a href="http://netkiller.github.com/cisco/index.html" target="_top">netkiller cisco ios 手劄</a>

<a href="http://netkiller.github.com/ldap/index.html" target="_top">netkiller ldap 手劄</a>

<a href="http://netkiller.github.com/intranet/index.html" target="_top">netkiller intranet 手劄</a>

安裝後會建立下面兩個使用者

同時建立下面配置檔案

編輯/etc/sv/git-daemon/run配置

* 我加上了一個--export-all 使用該選項後,在git倉庫中就不必建立git-daemon-export-ok檔案。

/etc/services 檔案中加入

确認已經加入

啟動git-daemon

掃描git端口,确認git-daemon已經啟動

.git/config 檔案應該是下面這樣

git-clone git://localhost/example.git

我們添加了一些檔案,然後再git clone,可以看到檔案數目