Question

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?

Was it helpful?

Solution 2

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top