openshift git clone 代码失败

vps网友提供 01-09 讨论归档 4
已上传公锁得到了ssh://02dcf2ac069d41d198b7ed39fb461091@xxxx-xxxxx.rhcloud.com/~/git/akuryou.git/

git地址

clone 时提示
Please make sure you have the correct access rights
and the repository exists.

本文由 vps网友提供,转载请注明出处

本文链接: https://www.vpsvsvps.com/discuss/a/1676471605959593984.html

标签:
westup
01-11

22端口被墙了,该端口,或者用vpn

redfish
01-10

跟我遇到的问题是一样的 ,我现在也是不知道为什么。不过你可以这样下载代码,前提是你已经安装了rhc 工具,用以下代码
rhc app git-clone appname
同样,在push代码的时候,单纯的git push是不行的
需要先把bash 挂在后台,执行以下命令
ssh-agent bash --login -i
--输入密码,然后进入了git 的bash命令行
然后就可以 git add 、git commit
然后git push就可以了

yiyangde7
01-10

那我认为你已经用了rhc setup传了公钥,试试

git init
用这个命令先在当前文件夹创建一个新repository

ini
01-09

写详细点?