How to connect OpenShift with a private BitBucket Repository

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:

  • bitbucket can't pull/push from repository
  • Working on GitLab/GitHub/BitBucket feature branch
  • How to sync bitbucket issues and JIRA issues
  • How do I setup .git with bitbucket to automatically update live Magento site when pushes are made?
  • Git: Forget about upstream repo
  • add a default git source to visual studio?
  • 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.

  • How to deal with Git-svn when have to use both Git and Subversion
  • Error in npm install command
  • Reuse Swift Code between project, running framework code locally and via Carthage
  • how to cut wrong commit
  • Pushing to GitHub stuck on “Writing Objects: 100%”
  • Unsupported Git version
  • One Solution collect form web for “How to connect OpenShift with a private BitBucket Repository”

    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.

    Git Baby is a git and github fan, let's start git clone.