我在 www.openshift.redhat.com 中创建了新应用。但是,当我将存储库克隆到计算机时,它将显示以下详细信息

Cloning into 'xxxx'... 
The authenticity of host 'xxxx-easychat.rhcloud.com (52.7.6.68)' can't be established. 
RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.xx. 
Are you sure you want to continue connecting (yes/no)? no 
Host key verification failed. 
fatal: Could not read from remote repository. 
Please make sure you have the correct access rights 
and the repository exists. 

如果我给它作为"is",则存储库可以克隆。但是我不能 promise 。
它显示以下错误:

致命:不是git存储库(或任何父目录):.git

所以之后,我将 id_rsa.pub内容添加到 https://openshift.redhat.com/app/console/keys/new并保存。
但是同样的事情也会发生。
当运行 rhc sshkey列表时,它显示相同的指纹

我该怎么办?

请您参考如下方法:

But i can't commit.



确保首先在存储库中进行cd,进行一些更改,然后将它们添加到索引( git add)中并在此处提交。

例如,参见官方 developers.openshift.com文档“ Using the Git Repository”。


评论关闭
IT序号网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!