如何将OpenShift与专用BitBucket存储库连接起来 [英] How to connect OpenShift with a private BitBucket Repository

查看:123
本文介绍了如何将OpenShift与专用BitBucket存储库连接起来的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在OpenShift上托管一个网站,但我想让我的代码自动与Git这样的免费但私人服务进行同步,因此我找到了BitBucket。

我试图通过我的OpenShift应用粘贴这个密钥来连接它:


ssh://530910bd5973ca01ea00007d@XXXXXXXXXX.rhcloud.com /〜/git/XXXXXXXXXX.git /


转换为:


BitBucket - > Repository - > Import Repository - > Old Repository。

但是我得到这个错误: p>


不受支持的协议。请使用'http://','https://','svn://'或
'git://。


我相信我和这个人有同样的问题:
https://www.openshift.com/forums/openshift/connect-to-bitbucket-repository-from-openshift-app


但我不明白如何应用此解决方案。在你问之前,是的,我是Github,BitBucket和OpenShift等新手。解决方案

在Google I上进行了大量搜索之后找到了解决方案... ...

我建议给(几乎)同样问题的人,或者像OpenShift和BitBucket一样的初学者,通过Redhat了解这篇写得很好的教程:
https://www.openshift.com/developers/install-and-setup-putty-ssh-client-for-windows



之后,小教程,我可以通过SourceTree将OpenShift与BitBucket连接起来。


I want to host a website on OpenShift but I want my code to synchronize automatically with a "free but private" service like Git, so I found BitBucket.

I tried to connect it by my self by pasting this key from my OpenShift app:

ssh://530910bd5973ca01ea00007d@XXXXXXXXXX.rhcloud.com/~/git/XXXXXXXXXX.git/

into:

BitBucket -> Repository -> Import Repository -> Old Repository.

But I get this error:

Unsupported protocol. Please use 'http://', 'https://' , 'svn://' or 'git://.

I believe I have the same issue as this guy: https://www.openshift.com/forums/openshift/connect-to-bitbucket-repository-from-openshift-app

But I don't understand how to apply this solution. Before you ask, yes I'm new to Github, BitBucket and OpenShift etc.

解决方案

After a lot of searching on Google I found the solution...

I suggest to people with (almost) the same issue as I had, or who are also beginners like me with OpenShift and BitBucket to read and understand this well written tutorial by Redhat: https://www.openshift.com/developers/install-and-setup-putty-ssh-client-for-windows

After that small tutorial, I was able to connect OpenShift with BitBucket through SourceTree.

这篇关于如何将OpenShift与专用BitBucket存储库连接起来的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆