最近花时间了解了一下Git,并配置了一个。学习过程中,查阅了一些文章,分享出来。

工作环境:ubuntu

1、《ubuntu上配置git服务器

文章出处:http://www.cnblogs.com/xl19862005

作者:Xandy

当执行:git clone git@server:gitosis-admin.git,如果出现:fatal: ‘/home/git/repositories/gitosis-admin.git’ does not appear to be a git repository,请参看条目2。

如果 git://eagain.net/gitosis.git 不可访问,可以试一试这个:git://github.com/res0nat0r/gitosis.git。

2、《gitosis 全路径问题

文章最后:Host “host"HostName “host_name"User “git"IdentityFile “/tmp/id_rsa” 的具体例子(出处):

Host github.com
  User git
  Hostname github.com
  PreferredAuthentications publickey
  IdentityFile ~/.ssh/gotgithub

3、《浅谈Gitosis实现原理

卢克 / 2012-10-09

gitosis通过一个gitosis-admin库来对git库的访问者进行授权。授权通过公钥和私钥实现。访问者的权限配置在gitosis-admin库内的gitosis.conf文件,公钥放在keydir目录。公钥的名字必须和配置文件中的member名字一致。

4、《GotGitHub

Author:Jiang Xin
Version:v0.9.1-8-gf708729
Copyright:Creative Commons BY-NC-SA

5、《nginx gitweb配置

May 10th, 2011 openwares

6、《Pro Git》

http://git-scm.com/book/zh

中文PDF下载

中文ePub下载