首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

gitosis装配补充说明

2012-08-02 
gitosis安装补充说明安装部署具体可以参考http://scie.nti.st/2007/11/14/hosting-git-repositories-the-e

gitosis安装补充说明
安装部署具体可以参考http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way,或者参考《pro git》相关章节。这里只列出对问题的总结。

1.gitosis-init时直接使用git账户操作即可

[root@localhost ~]# git clone git@localhost:gitosis-admin.gitCloning into gitosis-admin...git@localhost's password:fatal: 'gitosis-admin.git' does not appear to be a git repositoryfatal: The remote end hung up unexpectedly

原因:
客户端和服务端的公钥授权没配置正确,解决即可。
另:
因为触发了密码授权,提示错误确实是因为路径找不到,参考第3点,这时候如果写绝对路径,也可以获取到项目,但是绕过了gitosis的权限控制。

热点排行