【发布时间】:2015-11-18 22:35:05
【问题描述】:
使用位桶我可以推拉一个存储库,但我不能克隆一个新的。
我正在使用 SSH。
作为一种变通方法,我正在创建一个本地存储库并将位桶存储库添加为远程存储库,这可行!
我使用 Git Extension 作为本地客户端
克隆后出错
致命错误:已断开连接:没有可用的受支持的身份验证方法(服务器发送:公钥)
致命:无法从远程存储库读取。
Git 配置
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[remote "origin"]
url = git@bitbucket.org:lstm/ldap-test.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
【问题讨论】:
-
所以你的遥控器使用http?
-
提供你的 git clone 命令行,以及你本地工作仓库中 .gitconfig 的内容。
-
以及 git clone 后的错误输出
-
我已经更新了问题