From b5527911f131c8aaeedfd99a67173240924bbce7 Mon Sep 17 00:00:00 2001
From: Yegor Yefremov <yegorslists@googlemail.com>
Date: Fri, 25 May 2018 12:12:37 +0200
Subject: [PATCH] doc: fix quick guide command order

git checkout can only work if you've already changed to RIOT folder.
---
 doc/doxygen/src/mainpage.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/doxygen/src/mainpage.md b/doc/doxygen/src/mainpage.md
index f695555fcd..a4bb5562b4 100644
--- a/doc/doxygen/src/mainpage.md
+++ b/doc/doxygen/src/mainpage.md
@@ -55,8 +55,8 @@ call this the `native` port). Try it right now in your terminal window:
 
 ~~~~~~~{.sh}
 git clone git://github.com/RIOT-OS/RIOT.git # assumption: git is pre-installed
-git checkout <LATEST_RELEASE>
 cd RIOT
+git checkout <LATEST_RELEASE>
 ./dist/tools/tapsetup/tapsetup              # create virtual Ethernet
                                             # interfaces to connect multiple
                                             # RIOT instances
-- 
GitLab