如何使用存储库 url 托管 openshift?

How to host openshift using repository url?

在托管 openshift 时,我遇到了这个错误。我使用 github/bitbucket 存储库作为源代码。

你可以通过这种方式做到这一点。 您可以克隆 bitbuket,然后使用 openshift git repo 添加您的远程分支。

关注此 link。
Use existing git repo with openshift

============================================= ===========================

1) 克隆你的 repo

$ git clone <bitbucket-repo-url>

2) 然后,为openshift添加远程原点

$ git remote add openshift -f <openshift-git-repo-url>

3) 之后,将您的 openshift 存储库与您本地的 bitbucket 合并

$ git merge openshift/master

4) 最后将您的 git 存储库推送到 openshift

$ git push openshift HEAD

编码愉快...