I have cloned from https://github.com/magento/magento2.git. When I install this I am getting Magento Version Magento ver. 2.0.13. I am not getting any Magento ver. 2.1.x.

Why I am getting the older one as the repository is getting updated regularly?


You can get any magento version from github, Just open github link, Github Magento.

Now click on Branch Develop you have seen one dropdown type box display.

Now click on 2.1 Branches,

enter image description here

Now click on Tags, You can choose any magento version from here enter image description here

Now click on Clone or Download.

Magento 2.1.6 link, Magento 2.1.6

  • Thanks. but the link just says github.com/magento/magento2.git. So when I use git clone https://github.com/magento/magento2.git it will download the older Version. Jun 2 '17 at 11:39
  • @MagentoLearner You can download from that point. I have download 2.1.6 and its working fine. I havent try from command line Jun 2 '17 at 11:42
  • Thanks I can download but I want to checkout it with the latest version. Your answer is very useful by the way. Jun 2 '17 at 11:44
  • 1
    Rakesh, I had to run git checkout tags/2.1.7 -b 2.1 to checkout the latest version i.e. 2.1.7. Jun 2 '17 at 12:34

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.