When hosting openshift, I met this error. I use github/bitbucket repository for the sources.
Asked
Active
Viewed 581 times
1 Answers
0
You can do that in this way. You can clone bitbuket then add your remote branch with the openshift git repo.
follow this link.
Use existing git repo with openshift
========================================================================
1) Clone your repo
$ git clone <bitbucket-repo-url>
2) Then, Add the remote origin for openshift
$ git remote add openshift -f <openshift-git-repo-url>
3) After that, Merge your openshift repo with your local bitbucket
$ git merge openshift/master
4) Finaly push your git repo to openshift
$ git push openshift HEAD
Happy coding...
-
Here I found another article belong to openshift and github **[http://blog.anthavio.net/2014/01/deploy-to-openshift-from-github.html]** – Sadun89 Jul 25 '16 at 12:35