服务器显示初始化OK Gitosis的安装,但不能克隆其他客户端
但客户端错误的
fatal: 'gitosis-admin.git' does not appear to be a git repository
fatal: Could not read from remote repository
使用私钥可以通过SSH 连接服务器。请确保您拥有正确的访问权限 并存在存储库。
什么是错!!〜
服务器显示初始化OK Gitosis的安装,但不能克隆其他客户端
但客户端错误的
fatal: 'gitosis-admin.git' does not appear to be a git repository
fatal: Could not read from remote repository
使用私钥可以通过SSH 连接服务器。请确保您拥有正确的访问权限 并存在存储库。
什么是错!!〜
混帐混帐克隆@域名:/home/git/repositories/gitosis-admin.git
必须使用完整路径
你应该从不使用全路径(或者与old obsolete gitosis, or the more recent up-to-date gitolite)
使用完整路径通过Gitosis的/ gitolite打败到位的ACL(访问控制级别)(如在“Gitosis on Ubuntu can only find repositories in the git->repositories symlink”,和第所示at是same for gitolite)。
请参阅“Git on the Server - Gitosis”(如果你真的必须使用的gitosis):如果〜git的/的.ssh/authgorized_key确实包含了git的帐户的公开密钥,如果你正在使用这些证书(公钥/私钥你客户的git账号),[email protected]:gitosis-admin.git
应该可以工作。