How to connect OpenShift with a private BitBucket Repository

最后都变了- 提交于 2019-12-21 03:41:13

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/21972377/how-to-connect-openshift-with-a-private-bitbucket-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!