gitosis再安装(linux)

阅读更多
有机会在Linux下边安装git服务了,而gitosis对于小team来说,是不错的git管理工具。

其实在linux下安装也很方便,只需要python和git就可以了。
详细还是参考:http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way

可是当第一次clone的时候,发现如下异常:
fatal: 'gitosis-admin.git': unable to chdir or not a git archive
fatal: The remote end hung up unexpectedly


经逐渐排查,发现是权限做得怪,git用户的根目录需要chmod 755(我的是测试通过),不过个人感觉,这不是git/gitosis的问题,而是ssh的问题。

折腾了很长时间,在此记录一下。

你可能感兴趣的:(Linux,Git,SSH,Python,UP)