doc : Corrected git clone command parameters under get-started-cmake

Closes https://github.com/espressif/esp-idf/issues/2538
This commit is contained in:
Anurag Kar 2018-10-11 11:38:55 +05:30
parent 299704cec3
commit 9f1b38a4aa

View file

@ -118,7 +118,7 @@ Linux and MacOS
mkdir -p ~/esp
cd ~/esp
git clone --branch feature/cmake --recursive https://github.com/espressif/esp-idf.git
git clone --recursive https://github.com/espressif/esp-idf.git
ESP-IDF will be downloaded into ``~/esp/esp-idf``.
@ -130,7 +130,7 @@ Windows Command Prompt
mkdir %userprofile%\esp
cd %userprofile%\esp
git clone --branch feature/cmake --recursive https://github.com/espressif/esp-idf.git
git clone --recursive https://github.com/espressif/esp-idf.git
.. highlight:: bash
.. note::
@ -140,13 +140,6 @@ Windows Command Prompt
cd esp-idf
git submodule update --init
.. note::
The CMake-based build system preview uses a different Git branch to the default. This branch is ``feature/cmake``. If you missed the ``--branch`` option when cloning then you can switch branches on the command line::
cd esp-idf
git checkout feature/cmake
.. _get-started-setup-path-cmake:
Setup Environment Variables