2

From the install guide:

You can clone either a release branch or the develop branch: Release branches like 2.0 or .2.0.1 are more stable develop is more recent. Currently, the develop branch is the default but you can clone a release branch like 2.0.1 using the optional -b argument.

However, the branches list on github shows only:

-Develop (green mark)

-merchant_beta (red mark)

-2.0 (red mark)

Which branch should I clone to get the latest version for a production site?

1

3 Answers 3

4

This is official document on how to install Magento: http://devdocs.magento.com/guides/v2.0/install-gde/install-quick-ref.html

We recommend to clone repository only if you are planning to contribute back to Magento 2 source code.

2
  • Magento documentation like a roller coaster .... more you read, more you want to read again.... then you have just time wasted, left no money and a headache...
    – MagenX
    Commented Jan 26, 2016 at 9:36
  • Would you mind giving an example? We're always looking for ways to improve. Commented Jan 26, 2016 at 15:10
2

Only composer shold used for production site. git is only for development

1

Have you tried Composer?

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition

1
  • No error. Just make sure that you have swap configured on your server. Commented Jan 25, 2016 at 19:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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