Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
jasya
V2EX  ›  云计算

openshift git clone 代码失败

  •  
  •   jasya · Jan 9, 2013 · 5927 views
    This topic created in 4873 days ago, the information mentioned may be changed or developed.
    已上传公锁得到了ssh://[email protected]/~/git/akuryou.git/

    git地址

    clone 时提示
    Please make sure you have the correct access rights
    and the repository exists.
    4 replies    1970-01-01 08:00:00 +08:00
    ini
        1
    ini  
       Jan 9, 2013
    写详细点?
    yiyangde7
        2
    yiyangde7  
       Jan 10, 2013
    那我认为你已经用了rhc setup传了公钥,试试

    git init
    用这个命令先在当前文件夹创建一个新repository
    redfish
        3
    redfish  
       Jan 10, 2013
    跟我遇到的问题是一样的 ,我现在也是不知道为什么。不过你可以这样下载代码,前提是你已经安装了rhc 工具,用以下代码
    rhc app git-clone appname
    同样,在push代码的时候,单纯的git push是不行的
    需要先把bash 挂在后台,执行以下命令
    ssh-agent bash --login -i
    --输入密码,然后进入了git 的bash命令行
    然后就可以 git add 、git commit
    然后git push就可以了
    westup
        4
    westup  
       Jan 11, 2013
    22端口被墙了,该端口,或者用vpn
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5463 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 05:52 · PVG 13:52 · LAX 22:52 · JFK 01:52
    ♥ Do have faith in what you're doing.