0

I have a project and I don't have access to the Bitbucket repo but I have master access to the Magento Cloud project.

How could I clone the project to my local environment?

1

After you log in to Magento cloud, go to your project from the top menu. On the left panel, you will the environments/branches available for the project. Click on the environment you want to clone.

After that, you will be able to see the CLI/GIT command to clone the repo from the cloud directly. Please see the below image.

enter image description here

Let me know if you have any questions.

0

You can try to run this command below, dont' forget to use your project id and the environment name.

magento-cloud get bkyvkcoafe -e production

But if you're not able to do it you can clone using this another command.

git clone bkyvkcoafe5@git.us-3.magento.cloud:bkyvkcoafe5.git
1
  • I am trying to clone it on another server, I copied git command and run on my server it says git: fatal: Could not read from remote repository. Then I tried using CLI but it ask to login using magento-cloud login I run this command and it ask to open url in browser and login http://127.0.0.1:5000 but this is localhost url – Nalin Savaliya Oct 22 '20 at 16:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.